Hi,
I have an Index "school"
Each record in "School" is like
{
finance_dept: {
"budget" : $10000
"spend" : $5000
"money_left" : $5000
}
........
How to show "budget", "spend" & "money_left" in a single Timelion graph
Hi,
I have an Index "school"
Each record in "School" is like
{
finance_dept: {
"budget" : $10000
"spend" : $5000
"money_left" : $5000
}
........
How to show "budget", "spend" & "money_left" in a single Timelion graph
What is cardinatity ?
.es(metric=cardinality:)
Hi,
In Timelion, you can show multiple data series in a chart by making multiple expressions separated by a space. For example, to show "spend" vs "money_left", you would do:
.es(metric=min:money_left) .es(metric=sum:spend)
It is a type of aggregation built into Elasticsearch to get the number of unique values for a field: Cardinality aggregation | Elasticsearch Guide [8.11] | Elastic
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.