Getting Data In

Editing Splunk Logs

ceichhorn
Engager

I'm testing whether event logs in Splunk can be edited and, if so, if those changes are themselves logged. For instance, if Splunk service is turned off, can the logs be edited? And if so, when Splunk turns back on, does it alert in any way that the logs have been changed? Thanks in advance for any information.

0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi ceichhorn,

Splunk does not check if its own logs have been edited somehow.

But, you can enable file auditing in your OS and index the results of the audit on the Splunk logs like splunkd.log or audit.log. Based on that you can also setup some alerts in Splunk, so you will get notified if there was some edits on the Splunk logs.

See some examples on how to enable auditing for Linux or Windows. Linux auditing messages can get by scripted input into Splunk and Windows auditing messages will by in the Windows Security Events.

hope this helps ...

cheers, MuS

View solution in original post

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi ceichhorn,

Splunk does not check if its own logs have been edited somehow.

But, you can enable file auditing in your OS and index the results of the audit on the Splunk logs like splunkd.log or audit.log. Based on that you can also setup some alerts in Splunk, so you will get notified if there was some edits on the Splunk logs.

See some examples on how to enable auditing for Linux or Windows. Linux auditing messages can get by scripted input into Splunk and Windows auditing messages will by in the Windows Security Events.

hope this helps ...

cheers, MuS

0 Karma

lguinn2
Legend

What do you mean by "event logs in Splunk?"

Do you mean the Splunk logs like splunkd.log or other logs like the Windows Event logs?

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!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...