Alerting

Custom alert action is not working as expected.

knalla
Path Finder

Hello,

I'm trying to create to custom alert action from alert manager app to automate emails with invoking action. I add this on alert_action.conf. Its not working as expected. Any suggestions?

[snow_email]
is_custom = 1
label = SNOW action
disabled = 0
command = |sendalert sendemail "to=[email protected]" "server=relay.test.com" "from=[email protected]" "subject=test22"

0 Karma

sduff_splunk
Splunk Employee
Splunk Employee

I dont think you need the |sendalert at the start of the command, the sendemail should be sufficient

0 Karma

knalla
Path Finder

I tried, its working with regular alerts, but not from the app actions.

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!

Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...