Good morning,
I explain my casuistry, I have a Splunk tenant that belongs to a big company with sucusarles in three zones. Each branch should only see the data of its zone. The indexes are constructed in the form, zone_technology, for example, eu_meraki.
Knowing this, I have created a series of alerts, which are shared for all the areas, and search in all the indexes. How could I make that the warning email when the alert is triggered, only reaches the contacts of an area?
Thank you
It's splunk cloud
Hi @adrifesa95,
the question is: have you Enterprise Security or not?
anyway, if there isn't Enterprise Security you can apply my solution.
Ciao.
Giuseppe
Hi @adrifesa95,
it isn't so easy, you should:
<your_alert>
| lookup your_lookup.csv area OUTPUT mail
| sendmail to=mail
supponing that in your mail search, you have the area field, matchig the value in the lookup.
Ciao.
Giuseppe
Hi @adrifesa95,
are you speaking of Splunk Enterprise or Enterprise Security?
If Enterprise Security it's a very hard job to impement multitenancy because ES isn't multitenant by default.
If in Splunk Enterprise, you could create different alerts for each zone, working only on the indexes of that area and sending mails only to users of that area.
Ciao.
Giuseppe