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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...