Knowledge Management

How to apply "Event Actions" to multiple events simultaneously?

kausar
Path Finder

If an event is expanded in Splunk, there is button 'Event Actions'. Its good and handy if I want to apply it on a single event but cases where I have a bunch of events, how to apply it simultaneously on all of them?

Tags (2)
0 Karma

woodcock
Esteemed Legend

The way that I did this was to create my script as an alert script and then I was able to call it manually from any search as well as use it as a Workflow (AKA Event Action) with the same syntax. See this answer for more details:

https://answers.splunk.com/answers/41949/passing-search-results-to-external-python-script.html

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...