Getting Data In

How to configure inputs.conf to apply crcsalt for only a few files under a directory/folder, not all of them?

brod_geico
Path Finder

I need to apply CRCsalt for only few file under dir/folder not all of them. Below is my current inputs.conf

[monitor://d:\winevents]
recursive = true
whitelist = .log$|.txt$|.xml$|.out$
sourcetype = log
index = web

Tags (2)
0 Karma

yannK
Splunk Employee
Splunk Employee

the crcsalt is applied per stanza, so you want to create one stanza per group of files

example if you have your file in sub folders
[monitor://d:winevents/.../*.log]
recursive = true
crcsalt=myglogcrc
sourcetype = log
index = web

[monitor://d:winevents/.../*.txt]
recursive = true
crcsalt=mytextcrc
sourcetype = log
index = web

etc...

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...