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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

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

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...