Hi
I am looking to monitor the dispatch directory over time.
I know I can get the current results by using this
| rest /services/search/jobs | stats count
But I am looking to run the test over 1 minute and have a breakdown per minute of the increase in dispatch over time.
Rob
Hi
This gives me the current dispatch count - I am looking to make a time chart. Using rest _time does not come back so I can't make a time chart.
I am thinking if I run the command each minute in a saved search and output to a .csv with a timestamp that might work!
This has been answered here: https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-monitor-the-number-of-files-in-the-d...
You can leverage this search and see if that helps for your monitoring.
index=_internal sourcetype=splunkd The number of search artifacts in the dispatch directory is higher than recommended TERM(count=*)
| timechart span=1h max(count)
Please upvote if this is helpful.