I am currently ingesting metrics to Elasticsearch and I was interested in calculating a daily average of a specific metric via Rollup.
After reading some discussions I saw that it was normal to perform the sum (metric.value) on one hand and the count (metric.count) on the other, but I need to have a field with the value of the average. Is there any other option to get it? Script fields, Logstash .... ?
When configuring the rollups you have the option to set the metric to Average. And if you want it to be daily, make sure to set the interval to 24h in the histogram. That is all that will be needed to get a daily average of a specific metric.
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.