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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...