I have recently installed an InfluxDB 2.0 server. I am saving data which I need to differentiate according to some characteristics. I have different values for the same timestamp, so I have decided to differentiate the records using the Status
tag. The Status
tag can have several values: REAL
, OPTIMIZED
, PROVISIONAL
. Now I need to obtain the data prioritizing the values of the Status
tag, if for the same timestamp I have several values, I need it to return first the Status
OPTIMIZED
, if it does not exist, return the REAL
, and finally the PROVISIONAL
. This is possible with InfluxDB 2.0?.
I really don’t care if Status
should be a field.