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

Arithmetic between count queries in histograms #860

Closed
ghost opened this issue Jan 22, 2014 · 2 comments
Closed

Arithmetic between count queries in histograms #860

ghost opened this issue Jan 22, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 22, 2014

I have some Logstash events with 2 fields:

  • a field indicating a success or error
  • a field indicating the Autonomous System number of the event origin

I can currently/easily draw on the same histogram the counts of error event for, say, 5 selected AS.
Unfortunately it has a semantic drawback: if an AS is overly represented, it will probably also have more error events, even if that AS is no more faulty than another in percentage.

So I'd like to draw, on the same histogram, for, the same 5 AS, the percentage of errors by doing, for each bucket, count(errors(AS#n)) * 100 / (count(errors(AS#n)) + count(success(AS#n))).

Would it be doable with Kibana? Should I do some filtering in Logstash? Or should I forward some metrics to Graphite/statsd and continue from there?

@msupino
Copy link

msupino commented Mar 19, 2014

any update on this ? i need something similar.. cant find examples

@rashidkpc
Copy link
Contributor

This would really be better accomplished in Graphite. We have no immediate plans to implement time series math in Kibana.

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

No branches or pull requests

3 participants
@rashidkpc @msupino and others