Multiple queries

In some cases, you might want to compare the results of two seperate queries. Kibana can handle multiple queries by joining them with a logical OR and using the knowledge that they should be treated as seperate to influence visualizations.

Adding

Click the + to the right of the query input to add another query.

image

You should now have this:

image

In the lefthand, green input, type "to be" and in the right, yellow input, type "not to be". This will search for every document that has "to be" OR "not to be" in it, and break that down on our hits pie chart. So we go from a big green circle to:

image

Removing

To remove a query, click the x icon that appears when you mouse over the query input field

image