Display 2 line charts based on filter


I'm very new to Kibana.

In my single data record I've fields like:

code_status.keyword : "Failed"
code_status.keyword : "Passed"

I want to draw 2 line graphs in a single visualization, one for passed and one for failed.

I was trying with JSON Input, something like:
{ "script" : "doc['code_status'].value : 'Passed'" }

Please suggest how will it be possible.


This can be accomplised with a Vertical Bar visualization by setting Split series. Below is an example using the web logs sample data set that ships with Kibana. Follow the Visualization docs to create Vertical Bar chart.

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