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