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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...