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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...