-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHOW TAG VALUES for a subset of hosts (multiple tags) #5245
Comments
@daviesalex it's a reasonable feature request but there's currently no support for it. You can accomplish the same thing by selecting a throwaway field and doing a fair bit of post-processing:
Unfortunately the |
+1 on a where clause in SHOW TAG !!! |
related issue : #5668 |
👍 👍 Please We need this a lot. :) We've been working a lot with graphite and grafana and we are used to work with dashboards with dependent templated values ( realy usefull) In the following example we have a very simple Cisco Switch dashboard. with these template values: As you can see we can see interface name that doesn't exist in the selected cisco switch. We need filter the tag values with the host name
|
Hi, Looking at influx code, show tag values accepts a where clause. In the following example: 1-Double quotes on string: 2-Single quotes on string:
Request:
3-Regex expression:
So as briefview, it seems that it doesn't work with double quotes! About Grafana, it is actually working using the 2 and 3 format |
I think we accidentally implemented this at some point. It seems to work for me on master and 0.13. I'm closing this. Please reopen if it still isn't working. |
This still doesn't work:
|
I want to offer users the opportunity to glob hosts on a dashboard to show graphs for similar hosts.
Is it possible to retrieve the TAG VALUES for all measurements for a glob of hosts? Clearly I can do this:
Unfortunately, in our environment, that returns hundreds and hundreds of results for every possible interface (including every VLAN tag) across thousands of machines.
The docs (https://influxdb.com/docs/v0.9/query_language/schema_exploration.html#explore-tag-values-with-show-tag-values) only give an example of a single WITH KEY, but what I really want to do is something like this:
Is this possible today? If not, is this a reasonable feature request? Otherwise we either have to provide a Grafana list of options that is hundreds long (and for some metrics this will be thousands), or hard code specific interfaces unless there is a third way...
The text was updated successfully, but these errors were encountered: