Aggregate on where condition

In Kibana, I can easily aggregate on "where condition1 and condition2", is there any drag and drop solution to aggregate on "where condition1 or condition2"
The following picture is the screen shot of "and" condition. Is there any chance we can make it or by press control and select different part in the visualization pictures?

Kibana can do roll up, drill down, slice, it would be good if it can do dice.

In the latest shipping version of Kibana, 4.4, you can do that in a custom filter, but not by point-and-click in UI. Instructions for that custom filter are at the end of this page in the docs: https://www.elastic.co/guide/en/kibana/current/visualize.html

We are tracking issues to make it easier in the UI in the future: