In ElasticSearch I have some sample data, against which I would like to visualize the line charts in Kibana 4. Samples in ElasticSearch look like this:
For now Kibana just plot plot according to the column Id and in this case a single line chart is plotted for analyticValue. What I really want is to plot 2 line chart in Kibana for A and B against timestamp. Is there some kind of script(query) or something where I can say to kibana to seggregate the analyticValue according to analyticId?
Make sense to me if its not supported, I thought there might be some kind of hack to flatten this objects to array. Do you know if any near future kibana will support this.
Hi, Now I created the flat mapping as recommended by you, but can't able to filter analyticValue based upon analyticId. In Y axis I can choose analyticValue but couldn't find filter option there. Could you shed some light on this.
Not sure if I understand you correctly, but filters should be applied in the filter bar not on the metrics.
If you type something like analyticId: B in your query bar it should only select that data.
Or you could add another visualization, like pie and split it by analyticsId. you would get a pie chart with A, B, C (the most common ids).
Now if you put this pie chart on the same dashboard you have your chart where you plot analyticsValue, you can click a slice and it will apply filter so your value chart will get instantly updated with just those values.
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.