All Apps and Add-ons

Splunk Add-on for Amazon Web Services: Alert isn't published to SNS due to empty message content

splunk82
New Member

Hi,

I am using the Splunk Add-on and App for Amazon Web Services (AWS). I enabled one of the default alerts and added a AWS Simple Notification Service (SNS) alert for trigger actions. But i am not receiving SNS alerts.

When i check the logs, I see "SNSPublisherError: Alert isn't published to SNS due to empty message content"

Mandatory fields for SNS alerts are Account, Region, Topic Name, Message ($result.message$) and all of them are correct. Can someone point me in the right direction as to what i might be missing?

0 Karma

lim2
Communicator

your SPL output|eval message= host." ".sourcetype ." ". _raw|awssnsalert account="Account_to_connect_AWS" region="us-east-1" topic_name="topic_name" publish_all=1

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 ...