Hi Community,
I am having a weird issue with Splunk Enterprise. I had set up a universal internal forwarder to execute a script that gives me the list of all different processes within the Linux environment.
All of a sudden the script stopped producing results from 12 am and the panel didn't work. But again it starts working after 3 days by itself. This happened in both the test and production setup. Is there something that should be taken care of when using scripts in Universal forwarder or is there some reason for this unusual behaviour?
Regards,
Pravin
Please provide more information on how the script is being managed. (inputs.conf, script logic, etc)
Also, please make sure your forwarder was running during the time when you did not see data. You can run the below search for that.
| tstats count where index=_internal host="<your forwarder host>" by _indextime
| eval _time=_indextime
| timechart span=1h sum(count)
(You should see gap in this timechart if forwarder was down.)
Hi @VatsalJagani ,
The script is being managed by input.conf from the internal forwarder. There are a few more scripts and files being managed by the same forwarder which are working as usual but only this particular script doesn't work.
Also, the command doesn't produce any results and shows 0 results found.
| tstats count where index=_internal host="<your forwarder host>" by _indextime | eval _time=_indextime | timechart span=1h sum(count)
Thanks,
Pravin
Please try this search query to check if server was running all the time or not.
index=_internal host="<your forwarder host>"
| timechart span=15m count