Search code examples
influxdb

List influxdb series by filtering on series name


I am using influxdb in conjunction with grafana. As part of a grafana query, I'd like to select influx series' that are part of a set that I know already. If my series are named 'a', 'b', and 'c', I'd like a "show series"-like command that will return eg. 'a', 'b'. Is this possible with influx?


Solution

  • I am not sure if I understand your question correct but you can select multiple Series with:

    select * from a, b;
    

    if your questions is about how you can solve this in grafana, you can simply create a graph with two query's. One which selects a and one which selects b