Visualization for multiple plots in Kibana with filters

I am trying to achieve the following on Kibana: I would like to plot two plots on the same graph with the following data structures

A:
"_source": {
"@timestamp": "2017-05-21T05:14:36.277",
"topic_name": "/topic_A",
"data": {
"pose":1
}
}

B:
"_source": {
"@timestamp": "2017-05-21T05:14:36.277",
"topic_name": "/topic_B",
"data": {
"pose":2
}
}
I would like to plot A and B on the same graph. So I first perform the search on the search bar with:

topic_name:topic_A OR topic_name:topic_B

It shows one set of data which is an union of these two sets but I would like to plot A vs timestamp & B vs timestamp (two plots) on the same graph. I try to use the JSON Input feature (JSON Input for Kibana charts) but couldn't get it to work. So I am wondering what are the ways to achieving this without changing the data structure. Thanks!

What are you looking for in the visualization? Are you interested in comparing data.pose for each topic_name? If so, you can split the chart on the significant terms for topic_name, charting pose. Or, it's possible to do with Timelion and include both points.

Hi Tyler. I am trying to do a split chart (add a new x-axis) and use significant term as aggregation but then all the data got merged into one point and the x-axis is now two fields : [topic_A, topic_B].

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.