...inux machine to perform that task . Is there any ways, I can write Cron Expression to automate my python scripts so that python scripts will run automatically once a day in that Linux m...
...pps/my_app/default/my_conf_file.conf'
APP_BIN_DIR = SPLUNK_HOME + "/etc/apps/my_app/bin/"
Since this script is going to run both on Windows and Linux I wonder what would be a reliable pattern to u...
I updated to 8.2.2.1 and suddenly all of our unit test output is polluted with hundreds of Authorization Failed messages, each coming from various calls to splunk.rest.simpleRequest. The Autho...
Hello,
I want to know if it is possible to do a script which read a file and correlate the data in this file with an event in Splunk.
For example, when I put a USB key in Linux, I have this l...
Hi,
I have to schedule a script execution in my splunk app with Splunk 6.1.
I think to do that with a scheduled query, something like
| script python my_script
adding in my commands.conf...
I'm accessing my python script in $SPLUNK_HOME/bin via command line (in a VM) to see if the code runs correctly. Whenever I run the file outside of commandline, the code works perfectly, but when I r...
...d-on builder to create a python script that would make make the API request and index this data. However, I have a new requirement to skip the index entirely and write to a local lookup on the s...
I need to alter data in splunk using props.conf I need to use external_cmd to run python script Can you give me a example python script for that.
Thanks