DEV Community

Discussion on: Running queries with Elasticsearch and Kibana

Collapse
 
lisahjung profile image
Lisa Jung

Hey @vivek Gupta!
Are you asking if there is a way to search multiple indices at one time?

If that is what you are asking, you can set an alias for the group of indices you are looking to search. Then search against the alias in place of index name.

Check out this documentation for more details!
elastic.co/guide/en/elasticsearch/...

Collapse
 
vivekguptaer profile image
DEV VG

Thanks for the guidance. I am able to create alias for group of indices. Now, I am not aware about how to index or
route the alias and what query I need to write to get the logs for that alias.

Thread Thread
 
lisahjung profile image
Lisa Jung

I am so glad you found my response helpful and you were able to create an alias for group of indices!

For your follow up question, would you please post that on discuss.elastic.co?

It's a great question that our community could really benefit from. Also, it seems like a question that needs more clarification to answer. The Discuss forum will be a better place for that! :)