Getting Data In

How do I remove Security event logs as one of my data inputs

aywong
Path Finder

When I had initiall installed my forwarder I selected "security" as one of my inputs. Now I want to remove this as an input.

Tags (2)
0 Karma
1 Solution

MHibbin
Influencer

Assuming you are talking windows here...

There will be an inputs.conf with the Splunk directory on the forwarder. This could be in a system location or an application, so either (where $SPLUNK_HOME is the Splunk installation directory (e.g. D:\Program Files\Splunk\)):

$SPLUNK_HOME\etc\system\local\inputs.conf

OR

$SPLUNK_HOME\etc\apps\<appName>\default\inputs.conf

OR

$SPLUNK_HOME\etc\apps\<appName>\local\inputs.conf

In this file (should be easy to find in windows) there will probably be something like:

[WinEventLog:Security]
disabled = 0 

There may be some extra parameters, but you will need to change the "disabled = 0" to "disabled = 1". E.g:

[WinEventLog:Security]
disabled = 1

This will disable that input, you will then need to restart Splunk on the forwarder to make sure that changes are applied.

View solution in original post

MHibbin
Influencer

Assuming you are talking windows here...

There will be an inputs.conf with the Splunk directory on the forwarder. This could be in a system location or an application, so either (where $SPLUNK_HOME is the Splunk installation directory (e.g. D:\Program Files\Splunk\)):

$SPLUNK_HOME\etc\system\local\inputs.conf

OR

$SPLUNK_HOME\etc\apps\<appName>\default\inputs.conf

OR

$SPLUNK_HOME\etc\apps\<appName>\local\inputs.conf

In this file (should be easy to find in windows) there will probably be something like:

[WinEventLog:Security]
disabled = 0 

There may be some extra parameters, but you will need to change the "disabled = 0" to "disabled = 1". E.g:

[WinEventLog:Security]
disabled = 1

This will disable that input, you will then need to restart Splunk on the forwarder to make sure that changes are applied.

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