Hello, I tried running,
splunk btool inputs list --debug
It shows correct syntax,
/opt/splunkforwarder/etc/apps/jira-maestro/local/inputs.conf [monitor:///opt/jira-maestro/plugins/nessus/csv/report.csv]
/opt/splunkforwarder/etc/system/default/inputs.conf _rcvbuf = 1572864
/opt/splunkforwarder/etc/apps/jira-maestro/local/inputs.conf disabled = false
/opt/splunkforwarder/etc/system/default/inputs.conf host = $decideOnStartup
/opt/splunkforwarder/etc/apps/jira-maestro/local/inputs.conf index = nessus
/opt/splunkforwarder/etc/apps/jira-maestro/local/inputs.conf sourcetype = csv
Also tried copying the csv file to some other location ,for example /opt/test
/opt/test/report.csv
created a new input.conf,
[default]
index = nessus
[monitor:///opt/test]
whitelist = ^.*.csv
sourcetype = csv
disabled = false
initCrcLength = 1048575
crcSalt = /opt/test
Restarted forwarded, nothing gets sent to indexer, also tried modfying report.csv file to generate a change, using vim
04-07-2017 14:03:49.845 -0400 INFO WatchedFile - Will begin reading at offset=45491 for file='/opt/test/report.csv'.
04-07-2017 14:03:49.849 -0400 INFO WatchedFile - Resetting fd to re-extract header.
04-07-2017 13:53:06.534 -0400 WARN FileClassifierManager - The file '/opt/test/.report.csv.swp' is invalid. Reason: binary
04-07-2017 13:53:06.534 -0400 INFO TailReader - Ignoring file '/opt/test/.report.csv.swp' due to: binary
04-07-2017 13:53:10.667 -0400 WARN FileClassifierManager - The file '/opt/test/.report.csv.swp' is invalid. Reason: binary
04-07-2017 13:53:10.667 -0400 INFO TailReader - Ignoring file '/opt/test/.report.csv.swp' due to: binary
04-07-2017 13:53:13.984 -0400 INFO WatchedFile - Will begin reading at offset=45491 for file='/opt/test/report.csv'.
04-07-2017 13:53:13.984 -0400 INFO WatchedFile - Resetting fd to re-extract header.
04-07-2017 13:53:13.985 -0400 WARN TailReader - Insufficient permissions to read file='/opt/test/.report.csv.swp' (hint: No such file or directory , UID: 0, GID: 0).
04-07-2017 13:53:16.989 -0400 INFO WatchedFile - Resetting fd to re-extract header.
also tried injecting a new column into csv to keep track of timestamp in format of "2017-04-07 11:38:53,008"
Nothing is being sent to indexer. Indexer splunkd log doesnt show anything coming in for this report.csv All permissions are splunk user + 644 on the report.csv file
... View more