Hello all,
I have a question for aggregation on Kibana, the context is following as
Line chart
Bucket: Date Histogram
Bucket: Split series on field A
Bucket: Split chart on field B
Metric A: Count
It means a list of line charts visualize a count of each field A on each chart that split by field B by a custom interval.
=> How to add one more metric to count total of field B on each chart, it mean add one line in chart with name is "total B"?
Unfortunately I can't really think of a way to do this. The metrics are calculated based on the buckets, which means if you use a date histogram, the total will be calculated only on the given bucket, not across the entire range. I think the closest you can get is to use timelion and to use .static, but I don't think it can be dynamic
If you want, you could submit a feature request for this on GitHub.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.