Splunk Search

Remove splunk server from splunk search

thanson
Engager

I have about 15 network devices I have sending to splunk perfectly. But the splunk server is also showing up there, and it generates about 700,000 sourcetype=audittrail events every day. Does anyone know how to remove the splunk server itself from the search results?

thanson
Engager

Hi. Thanks for the email. That works to review the audittrail alerts which arent from the splunk server. But do you have any ideas if you wanted to completely remove all splunk server data from splunk? I don't really care to monitor the status of my splunk server, and would rather only have network devices show up as hosts. Thanks again!

0 Karma

araitz
Splunk Employee
Splunk Employee

Have you tried:

index=_audit sourcetype=audittrail NOT host=your_server_host_name
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 ...