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!

.conf24 | Registration Open!

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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...