Splunk Search

Events are going to multiple indexes.

sherrysafdar
Explorer

I have an issue where events are indexed into multiple indexes partially.

Now the problem is that

Example: -

Some events from SWITCH-A are indexed in main
Some events from SWITCH-A are indexed in cisco

How can I ignore those events being indexed into the main index?

thanks,

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @sherrysafdar,
what's your problem: to understand why some events are stored in main or to not see in search results events from main?

If you need the first, you have to share more details about your input and transformation.

If instead it's the second, it's easy, you have only to insert in your searches index=cisco.
And, if the second, that to insert in searches index=... it's always a good practice because your searches are quicker.

Ciao.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...