Reporting

Dynamic Email Address Selection in Email Alerts for a single search query.

yashjain12yj
New Member

I want to send email to multiple people based on some condition I want to change the recipient when some alert is triggered.
Can anyone have any idea how to achieve this?

0 Karma

HiroshiSatoh
Champion

I think that it is better to embed an email address in an alert query instead of an alert setting.

alert setting
$results.your_email_addr$

0 Karma

yashjain12yj
New Member

I need to extract email address from a file. Then I want to send email to that users.

0 Karma

HiroshiSatoh
Champion

Use LOOKUP as a general method.
Can not make the file a LOOKUP file?

0 Karma

yashjain12yj
New Member

Is there any other way than using lookup?

0 Karma

HiroshiSatoh
Champion

Although it is possible to index a file as a log and join it, it is not much different from using LOOKUP.

After that, I think that you can do anything by creating a custom command, but I can not recommend it.

0 Karma
Get Updates on the Splunk Community!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...