I'm having what appears to be a logic problem, but it could be something else.
I have an app that displays the output of an error log. Output looks something like this (may be familiar to those who have been helping me with other issues):
AA8AB241 0901122910 T O OPERATOR OPERATOR NOTIFICATION
It parses the timestamp correctly. The error log script outputs any errors that have occurred in the past 60 seconds, and Splunk runs that every 60 seconds.
Unfortunately, it appears to be indexing it 3-5 times. In other words, for each one of those entries, I get 3-5 identical entries in the index.
I'm wondering if it has to do with my "every 60 seconds, produce results from the past 60 seconds" logic. Or could it be something else?
Any feedback is appreciated.
Thanks!
Edit:
Here is the inputs.conf file (note: this is on the forwarder):
[script://splunk/etc/apps/all/bin/errptsplunk.sh]
interval = 60 # Run every minute
sourcetype = errpt
source = script://./bin/errptsplunk.sh
And props.conf (on the indexer):
[errpt]
SHOULD_LINEMERGE = false
TIME_PREFIX = ^\S+\s+
TIME_FORMAT=%m%d%H%M%y
MAX_TIMESTAMP_LOOKAHEAD = 25
... View more