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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[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 ...

Splunk Community Badges!

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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...