Are you currently able to do get the data you want graphed with elasticsearch aggregations?
If you were indexing samples of the current bytes per second we could show you the average over time, but I don't think that Elasticsearch can calculate the raw metrics necessary for this type of chart given your current data.
Yes, your assumptions about my data is correct... but I am creating and indexing the data myself, so I CAN add calculated fields. But my problem is that the calculations should be made based on the date histogram interval (which I dont want to make fixed for obvious reasons)
No, I do not know how to go about getting the desired results with an elastic search aggregation as (as above) the calculation needs to be based on the interval granularity.
Using an average of precalculated bits/s values would only work (I think) if there are entries for every interval.
I.e. If 192.168.0.1 sent at 10Mb/s to 192.168.0.2 , but only for a 5 minute period , then the data in 5min or less granularity , the average should work - but viewing at larger intervals would still show the two ips sending at 10Mb/s for an hour for instance.
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.