I need to provide the output of splunk search result to a python script which will print the output from the search result to a logger or console using python..
For instance, index="fact_agg" | addresult.py
So here my index is "fact_agg" and my python script would be addresult.py ...Can I provide the output of index "fact_agg" to the python script which in turn will log the output to a logger or console using python script... Please look further..