I have created a python script for reading log data from a custom application. The script is copied in below folder
$SPLUNK_HOME\etc\apps\search\bin\splunk_script.py
The configuration is done using the Data Inputs - Local Inputs - > Scripts menu to execute the script every 5 seconds
The script reads the . log file and returns text in CSV format
However the script is not executing.
Pls share the steps to configure a python script execution using the scripts option in data inputs. The results returned by the python scripts should be visible using the Search & Reporting menu in Splunk
↧