Skip to content
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

How do I dynamically generate queries with derived queries removed #819

Closed
zbuckholz opened this issue Jan 8, 2014 · 2 comments
Closed

Comments

@zbuckholz
Copy link

I am using the collectd input and attempting to create a dashboard for system cpu io wait. Some systems will have one cpu while others will have multiple, is there a way to dynamically build the graph depending on the "plugin_instance" value?

In the past I could have used the derived query feature, but that has been removed in Kibana 3 milestone pre-5.
screen shot 2014-01-08 at 4 17 43 pm

Currently for a four cpu system I need four seperate queries like the following:

host:"host1" AND plugin_instance:0 AND collectd_type:"cpu" AND type_instance:"wait"

host:"host2" AND plugin_instance:0 AND collectd_type:"cpu" AND type_instance:"wait"

host:"host3" AND plugin_instance:0 AND collectd_type:"cpu" AND type_instance:"wait"

host:"host4" AND plugin_instance:0 AND collectd_type:"cpu" AND type_instance:"wait"

Thanks

@rashidkpc
Copy link
Contributor

Click on the colored dot for a query and set the query type to "topN". This serves the same function as derivequeries

@zbuckholz
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rashidkpc @zbuckholz and others