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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...