Hello. I have set up e-mail notifications with the most important logs on my graylog. I have three streams and everything works fine, but I don’t get information when the server shuts down unexpectedly. In the stream rules I have a level lower than 3 and three rules about excluding sources that are not interesting to me.
Until then, everything works fine. As you can see in the picture (red frame), the logs go to the stream I created. And now something strange is happening. I get logs 2 and 3 by e-mail, but not 1. I don’t know if it matters, but it is a log about unexpected shutdown and it is more important to me than the other two. At first I thought it was a one-off, but today it happened again.
Graylog runs on ubuntu (virtual machine). Thanks for help
What I see is, the logs go into the stream Logs Server, to help resolve this issue could you post how you setup you Event Definition and/or Notification Template for this alert?
It’s strange, but now I created a new event definition which I called test, triggered the evxent in windows with the “New-WinEvent -Id 41 -ProviderName microsoft-windows-kernel-power -Version 1” command and I get two messages by email: from the old event definition(from which they did not come before) and from the new one. I’ll leave them both and wait to see what happens.
I have a feeling its the configuration on your Event Definition. Showing your new setting would help. Perhaps we can figure this out or at least troubleshoot the issue.