Getting Data In

Running a Custom Script

zacksoft
Contributor

In one of my alert I want to a trigger a script (to reboot the Linux sever) when a specific condition is met.
I have my search query ready. When I click on the 'run a script' option it says , "Create a custom alert action to package a custom script instead. "
Can anyone guide me what is this custom action alert package ?

Tags (1)
0 Karma

skalliger
Motivator

Hi,

the "run a script" alert action is deprecated (unfortunately). You have to adapt to the new way, the so-called "custom alerts". You can read about it here and here.

Skalli

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...