Reporting

Can I use multiple customized sendemail.py for different report/alerts?

nagar57
Communicator

I wanted to use different sendemail.py for different alerts as different formatting is required. How can I point these python file from my search command to use that particular sendemail.py for the particular alerts.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There is only one sendemail.py, as it is the functional part of the sendemail command. If you need different behavior, duplicate the command and make your custom changes to the dupe.

---
If this reply helps you, Karma would be appreciated.
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 ...