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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...