Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

select from influxdb records where in range of values

I want to get records from my influx db which are included in array of values.

SQL Example:

select * from users where id IN (54, 55, 100, 300);

Is it possible to do the same in influxdb?

like image 283
user3403916 Avatar asked Oct 28 '25 17:10

user3403916


2 Answers

As of now this feature is not available in influx.

Reference :Influx Docs

like image 134
Shyam Avatar answered Oct 31 '25 08:10

Shyam


not sure, if you could solve it. still not a feature in InfluxDB but you can use the following expression...

select * from users where "id" =~ /54|55|100|300/
like image 41
RonaldN Avatar answered Oct 31 '25 08:10

RonaldN



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!