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

Happy Splunking!

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

Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...