We have setup one alert which should trigger for every 1 hour
When we run the alert query it is showing up the results but we did not received mail
There is no diff in index and event time
In scheduler logs it is showing status as success but i don't see python logs and alert did not get fired
What could be the issue for not receiving the mail from alert.
Validate it through the below spl query
index=_internal | head 1 | sendemail to="name@my.email.domain" format="html" server=smtp.gmail.com:587 use_tls=1
Have you Configured the smtp in the search head?
Settings -> Server settings -> Email settings
If your alert has fired and has sent the email and it was not received, then look for any events in _internal
index=_internal sendemailIs your Splunk server able to talk to the SMTP host it is trying to send email to - have you configured that server?
When i checked with index =_internal sendemail I don't see any logs
The email which we used to trigger alert is fine because every day alert triggers and we receive email this issue is happening suddenly like once in a week we are not receiving email
So you are saying sometimes you get the email and occasionally you do not get it.
Can you see examples of the sendemail in the internal logs for a successful email alert?
Do you have access to the _internal index?
Yes correct
And i saw the send email logs for other alerts which I can see in internal logs. Looks good
But i don't see send email logs for this alert in internal logs