Query two indexes simultaneously in Kibana 4?

Shubham Mishra picture Shubham Mishra · Apr 16, 2015 · Viewed 25.8k times · Source

Whenever I create a visualization, Kibana 4 asks me to select the index for doing the search. My project requires searching data that is present in multiple indexes and hence I am stuck. I wish to search two indexes for my data and then visualize them. Any help would be valuable.

Answer

sonenko picture sonenko · Jul 27, 2015

Kibana can create Visualization from multiple indexes. But! indexes should have similar names, or alias names with similar names, for example, you can simply grab data from indexes: logstash-2015-01-01 and logstash-2015-01-02 using mask logstash-*.

But yes it would be handy if we could write something like index1,onother_index.