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

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

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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...