|
We have used below monitor in inputs.conf [monitor:///usr/sap/IXP/SYS/profile/DEFAULT.PFL] disabled = false sourcetype = defprof index = erp crcSalt = defprof Few days back I could see the full content of this DEFAULT.PFL file in indexer search. Suddenly today when I searched the same its showing only first 4-5 lines of this file. I checked in somefile.out file, but no errors there. But when I changed the sourcetype and crcSalt string suddenly I could see the full file content in Indexer. Please let me know what could be the reason for this and why its working after changing the string. This is very strange, kindly help us to fix this issue. Thanks|Rajashekhar |
|
CRCSALT is used to make files look different to splunk. Without it, splunk loads the first and last 256 bytes and uses that to create a hash which it then compares with other files. If you define CRCSALT, its value is added before the hash is calculated so the file looks different. What you have done is add a fixed string "defprof" as the CRCSALT. This will make the file look different once. The next time a similar file arrives, it will be ignored again. If you use " From inputs.conf.spec
Hi, Thanks for your answer. Before trying the fixed string, we did try "crcSalt = <source>" which did not work as well. That time also it was showing only first few lines not the full file content. Moreover the file in question does not get updated very often(may be once/twice a year this file will be modified with few new lines), still splunk is not indexing it. Without using crcSalt also splunk was not indexing this file. Please suggest how to fix this. Thanks Rajashekhar
(01 Dec '11, 01:29)
sushildabare
|
Please can any one help me on this issue.
Can any one please provide your advice on this issue.