Hi everyone.
I want to create real time and historical charts (for example by chart.js library) from the elasticsearch documents.
each document has its own date field. So I want to have a linear chart (x axis : time field, y axis: another (value) filed) monthly, from example between (1-Jan-2020 to 1-Feb-2020).
If I want to query a list of (x,y) values between this time range, the problem is that the amount of data in this period is very large (2592000 records monthly).
Do I have to break down my chart into smaller periods (for example daily)?
what is the best way to do this scenario?
If you base your visualisations on aggregations rather than try to return and process individual documents this should not be a problem. This is e.g. what Kibana does.
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.