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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...