Alerting

send a file as attachment if an alert triggered

surekhasplunk
Communicator

My requirement is if CPU load high is found and number of results is more than say 2 then i want to trigger an alert send email is working but along with the email i want to send an attachment a .txt file which i got steps to resolve that error. How to do this.
How can i send an external file as an attachment along with alert email.

Tags (3)
0 Karma
1 Solution

renjith_nair
Legend

You might need to do custom email actions for this. Instead of this , why don't you include the content of the txt file as a message content and send it with the alert ?
ie : in the message section . http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/Alertexamples#Scheduled_alert_example

---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

0 Karma

renjith_nair
Legend

You might need to do custom email actions for this. Instead of this , why don't you include the content of the txt file as a message content and send it with the alert ?
ie : in the message section . http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/Alertexamples#Scheduled_alert_example

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...