Now I want to achieve the second step: I want to have the average of the sums per day for each 7 days in another second chart. Do you have any hint how I can implement this ?
If I could break ti somehow in 7 days chunks. That'd be great.
Regarding pipeline aggregations I will take a look on that. I think I tried similar approach with TSVB Visualization type, but there I could not find how to break it down per week
I this case the graph will show me the sum of the transactions per week. But what I need is:
sums of transactions per day and
The average of these sums for each 7 days
Basically I need two aggregations and I must use the output of the first one as input for the second one with different histogram interval. And I cannot find an approach to do that.
Alright, so the moving-avarage was exactly what I was looking for. I just misunderstood how the moving-average works and tried to break down the graph in weeks, but using moving-average with window 7 with daily interval it is not needed. Every day in the chart shows you the average of previous 7 days basically.
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.