Splunk Enterprise Security

Is it possible to pass values from a notable event to a shell script?

gary_richardson
Path Finder

Hello

In Enterprise Security, there is the option to run a script as a follow on action to a notable event. Is it possible to pass field values from the notable event to the selected script?

Cheers.

0 Karma
1 Solution

muebel
SplunkTrust
SplunkTrust

Hi gary.richardson2, you can get access to the search results as described here : http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Configuringscriptedalerts

Essentially, "SPLUNK_ARG_8" contains the filename of the search results, which you could manipulate to extract the fields you are interested in.

Please let me know if this helps!

View solution in original post

muebel
SplunkTrust
SplunkTrust

Hi gary.richardson2, you can get access to the search results as described here : http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Configuringscriptedalerts

Essentially, "SPLUNK_ARG_8" contains the filename of the search results, which you could manipulate to extract the fields you are interested in.

Please let me know if this helps!

gary_richardson
Path Finder

Thanks! 🙂

muebel
SplunkTrust
SplunkTrust

gladly! 😄

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 ...