Here is a sample document in my index:
{"_id":"2018:05:03:19","_source":{"0":9926,"1":53436,"2":81151,"3":56466,"4":29904,...}}.
I am trying to build a bar chart where instead of using aggregation I need to take the keys (0, 1, 2, etc) to use as X axis and corresponding values as Y. All aggregation has already been done in my pipeline.
Has anyone tried something like that? I would really appreciate any suggestions as I am really stuck on this.
Hi Lukas. Thank you for responding. I was trying to use Terms aggregation but I cannot select _id as one of the fields. As you can see from my _id format they are date:hour based. Do you have any suggestions?
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.