Alerting

Help with custom alert action needed

damucka
Builder

Hello,

i would like to create the custom alert action attached to my alert. Whenever the alert brings back results (in my case: anomaly has been detected), then the dbxquery should be fired back against the DB generating there the runtime dump. No fancy UIs, simplest possible.

The rtedump creation is a procedure call on DB side, which at splunk would translate to sth. like that:

| dbxquery query="call \"SYS.MANAGEMENT_CONSOLE_PROC('runtimedump dump','$result.host_port$',?)" connection=$result.connection$

result.host_port and result.connection would / should be taken over from the alert search, there i would set it correspondingly.
Now, how would I do this in a simplest possible way? Do I need the [custom_alert_action].html also in this case? Where would I place all the necessary files / above search / parameters?

Kind Regards,
Kamil

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...