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

Is it possible to have sum/count aggregate function #10118

Closed
patil-akshay opened this issue Jan 31, 2017 · 9 comments
Closed

Is it possible to have sum/count aggregate function #10118

patil-akshay opened this issue Jan 31, 2017 · 9 comments

Comments

@patil-akshay
Copy link

Is it possible to have sum/count as an aggregate function.

@thomasneirynck
Copy link
Contributor

hi @patil-akshay

Doesn't Kibana already have this?

image

Or are you referring to something else? thx

@id3a
Copy link

id3a commented Feb 1, 2017

Hi @thomasneirynck he's referring to pipeline aggregations.

Some examples:

  1. Sum(agg A)/Sum(agg B)
  2. Avg(agg A)/Avg(agg B) per C

Unfortunately I don't think this is possible yet.
A lot of us are waiting for this important feature

@thomasneirynck
Copy link
Contributor

@id3a thanks for the clarification!

Yes, support for pipeline aggregations is an outstanding enhancement. Closing as dupe of #4584.

@patil-akshay
Copy link
Author

patil-akshay commented Feb 2, 2017

capture

Its returns only one value I want it for whole bucket

@thomasneirynck
Copy link
Contributor

@patil-akshay not sure if I follow. Can you explain what exactly it is you want to do? The metric visualization is always a single value.

@patil-akshay
Copy link
Author

patil-akshay commented Feb 3, 2017 via email

@thomasneirynck
Copy link
Contributor

@patil-akshay can you outline in specific steps what you would like to achieve? metrics generally always apply to a bucket. For the metric-visualization in particular, it displays a single value that applies to a single bucket.

@patil-akshay
Copy link
Author

patil-akshay commented Feb 6, 2017

As we know in Data Table visualization we can retrieve values for whole bucket in same way I want outcome as count(*)/sum(xyz)
git
for whole bucket it should not return an single value

@thomasneirynck
Copy link
Contributor

@patil-akshay ok, thanks! yes, this is an outstanding improvement request for Kibana to support pipeline aggregations (#4584)

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

4 participants