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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...