Getting Data In

How can I monitor a file when it changes?

Tacoff_Sun
New Member

There is a only one file named change.log whose name won't be changed. When my environment changes, I always take this log and append in change.log by script, but Splunk always indexes the new records which I append. How can I get splunk to index the whole content every time change.log updates?

Tags (3)
0 Karma

pedromvieira
Communicator

You can use crcSalt inside inputs.conf

http://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf

Example:

[monitor:///opt/splunk/etc/apps/YOURAPP/samples/*]
...
crcSalt = <SOURCE>
...
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...