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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...