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!