Splunk Dev

Auto data fix using Splunk connected to python

mrccasi
Explorer

Hello. The idea is, Splunk will ingest ticket from client side then Splunk will categorize the ticket and if it falls in the category, Splunk will call Python to run a script to update the data in Oracle database.

I successfully tested the python and oracle database connection. my problem is on how will Splunk can categorize the data and call python to run the script. do you guys have any idea? can you please help me? i am new in splunk and i would like to know more about splunk capabilities.

Thank you.

Tags (1)
0 Karma

micahkemp
Champion

Check out custom search commands. It seems you could use them to accomplish what you need, perhaps with a search like:

<ticket search> | <your categorization logic> | <yournewcustomsearchcommand>

We also use ticket data within Splunk, but we use a custom search command to fetch the ticket data at search time, instead of indexing it in Splunk.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...