I am trying to write a where clause on InfluxDB where the points are filtered via their key values.
My points have the field ping_to_google.com
and the tag key user
where user can be raspi-2
or raspi-5
. This is a sample output of the database:
> select * from networks where time > now()-1h
name: networks
time ping_to_google.com user
---- ------------------ ----
1645494054000000000 3.528 raspi-2
1645494078000000000 3.578 raspi-2
I am using InfluxDB version 1.8 and InfluxDB shell version 1.6.4