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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...