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
Legend

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
Legend

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?

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...