Splunk Search

How can i do the search in multiple indexes

abhayneilam
Contributor

Hi,

How can I do search in multiple index. lets say I have 5 indexes and I want to do the same search in all the five index at one go ..please help me with some fine example

Thanks
Abhay

Tags (3)
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

You just specify those indexes on the search line:

keyword=BLAH index=index1 OR index=index2 OR index=index3 | foo by bar

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

You just specify those indexes on the search line:

keyword=BLAH index=index1 OR index=index2 OR index=index3 | foo by bar

Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...