Skip to content

Filtering InfluxDB series by parts of thier name #613

Closed

Description

I am feeding nmon data from multiple servers into an InfluxDB and use Grafana for basic analytics/monitoring. The series feed into InfluxDB are named in simple patterns where elements are separated by a dot, for example:

[prefix].[servername].[nmon-section].[metric]

For example raw.raspi.CPU_ALL.SysPercent contains system cpu usage over all CPU's on the node raspi.

Now, for example, I would like to have a filter at the place of the [servername]. The query would look somehow like that:

from /raw.*'[[servername]]'*.CPU_ALL.*/ where  time > 1406045460s and time < 1406047512s group by time(1s)  order asc

A input box (in this case better than a dropdown) would allow me to filter.

Currently I do this via scripted dashboards which works fine, but thats somehow lacking of flexibility...

Cheers Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions