A solution that works anyway: create an alias in Elasticsearch for the indexes you want to query at the same time, and then use the alias as an index in Kibana.
In the Marvel plugin, through the Sense interface, you can create an alias for multiple indexes by running this query:
POST _aliases { "actions" : [ { "add" : { "index" : "test1", "alias" : "alias1" } }, { "add" : { "index" : "test2", "alias" : "alias1" } } ] }
Or using CURL:
curl -XPOST 'http://localhost:9200/_aliases' -d ' { "actions" : [ { "add" : { "index" : "test1", "alias" : "alias1" } }, { "add" : { "index" : "test2", "alias" : "alias1" } } ] }'
Then you just need to add the index template to Kibana for "alias1" and create a visualization.
For more information about aliases, see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html
source share