The alert message from variable $alert.MachineID is “localhost”. This notification is sent from my crowdsec docker container on my Unraid server.
Just wonder why the value is “localhost”. As I install crowdsec on 3 servers, I prefer it to have the server name value so that I know the point of attack.
Note: once you restart the container it will add the custom hostname but there may be duplicate records depending on how to configure CrowdSec (multiserver or single instance)