I am searching for some data on Splunk for a 5 minute time range. I want this search to run after every 5 minutes in Splunk on its own. How can this be done? I tried finding it on Splunk, but all I can see is how to schedule alerts and reports. And after the search is activated, how can we access the produced results generated by the search?
Save it as an alert and you can "process" the results of the query and act on them externally (e.g. call a script if the number of results is greater than 0).
Create a saved search and schedule it ...
http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/Savedsearch
https://answers.splunk.com/answers/238526/how-to-create-a-saved-search.html
and and in the saved search query Use "collect" to store the results to another index/report
http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/Collect