I am running Graylog 6.3.1+7bd8532 Open
I am trying to send email alerts for failed login and host computer name.
I have spent a serious amount of time using various combinations trying to get an email sent with both bits of information, I am using winlogbeat on my servers no sidecar, manual install.
but I do not get any information in the email
A “Failed Logins” event was triggered for a user on a specific server.
---
Event Details
---
Username:
Server Hostname:
Number of failed attempts: in the last 5 minutes.
However in alert there is all the information that should be added to the email.
I have attached a screenshot.
Does anyone know if there is a bug with sending the email with the following
winlogbeat_winlog_computer_name
winlogbeat_winlog_event_data_TargetUserName
Yes I tried in the Body and in HTML body, I am struggling to get to grips with this, I have tried another approach with streams and i can see the data when I perform a load message I get the 2 green bars to confirm the naming and data are valid.
Do you know of a good site or a youtube channel that covers this I think I am close just not exactly correct
There is a free course on the subject that can be found here.
The only fields available as event meta data (${foreach event.fields field} ${field.key}: ${field.value} ${end}) are those passed through as custom fields. In your case that is winlogbeat_winlog_computer_name etc, if you wanted to utilise fields from the actual message that triggered the alert then you should be using the backlog.