Alerting

How to create a custom alert action/how do I troubleshoot error "unable to find action script for action..."?

adylent
Path Finder

I'm trying to create a custom alert action, but I'm seeing an error in the splunkd.log .

WARN sendmodalert - action=myapp  - Unable to find alert action script for action="myapp" in app="myapp_alerts"

What is the best way to troubleshoot this?

Thanks

Labels (1)
0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

jkat54
SplunkTrust
SplunkTrust

adylent
Path Finder

Thanks @jkat54. That solved my issues pretty much immediately.

The issue I was having was my [custom_alert_action] values were different

Very appreciated!

bin

[custom_alert_action_script]

default
    alert_actions.conf
    app.conf
    restmap.conf
    setup.xml
    data
        ui
            alerts
                [custom_alert_action].html
0 Karma

ppablo
Retired

Hi @adylent

Now that @jkat54's comment has been converted to an answer, don't forget to resolve the post by clicking "Accept" directly below his answer. Thanks!

Patrick

0 Karma

jkat54
SplunkTrust
SplunkTrust

2 years old, and now I’m a moderator so I accepted 😉

0 Karma

jkat54
SplunkTrust
SplunkTrust

Ok I converted my comment to answer. I didn't think it would be that easy but thought I'd just point you in a direction and see!

0 Karma

geekf
Path Finder

I have the same issue but the link you mentioned is no longer working.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...