Feedback
Got feedback? We want it! Submit your comments and suggestions for our community here.

Modular Action Alert does not appear in the UI (Own App) - Configuration and logs verified.

kenlymarP
New Member

I am implementing a custom Modular Alert Action in Splunk 10.x, but the action does not appear in the Add Actions dropdown menu of the alerts, even though we have checked the syntax and the main logs.
All files are correctly located within the n8n_integration app,

...\n8n_integration\default\alert_actions.conf --> file alert_actions.conf
...\n8n_integration\bin\payload_attack_force_brute_n8n.py --> script
...\n8n_integration\data\ui\alerts\payload_attack_force_brute_n8n.html --> UI

Contents of alert_actions.conf

[payload_attack_force_brute_n8n]
label = Enviar Alerta N8N
description = Envia payload JSON de alerta de Fuerza Bruta a n8n
is_custom = 1
payload_format = json
python.version = python3
icon_path = n8n_integration/static/brute-force-attack-icon.png

Diagnosis Performed and Discarded
 

  • I checked the python.log after reboot and when loading the alert page. There are no FATAL/ERROR errors related to the loading of the modular action script.
  • The stanza ([payload_attack_force_brute_n8n]) exactly matches the .py and .html file names.  

Any suggestions on where to look for a silent loading error or if there is a missing syntax in the stanza would be greatly appreciated.

Tags (3)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @kenlymarP 

Please check two things, in the metadata for your app; metdata/default[or local].meta do you have the alert_actions exported globally? e.g.

[alert_actions]
export = system

# OR
[]
export = system

(See https://dev.splunk.com/enterprise/docs/devtools/customalertactions/configappcaa/#:~:text=Admin%20Man...)

Secondly, if you go to http://yourSplunkInstance:8000/en-US/manager/search/alert_actions do. you see you alert action, if so, is it Enabled?

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

kenlymarP
New Member

Hi, sorry for the delay.
I didn't have it exported to the system. I have added it to the metdata/default. However, it still does not appear in the web interface.
Regarding the second option, it does not appear in the Alert Actions section.
Any other suggestions please? @livehybrid 

I forgot to mention that I have splunk in a VM (VirtualBox), it is a lab to get experience using Splunk since I am new starting in cybersecurity. I already checked the permissions in my n8n_integration directory where the SYSTEM user has the necessary permissions.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...