Making source field show hostname instead of ip-address

also the same happens if the device send tha date in wrong format, and the graylog can’t pharse it.

So I think if the message contains the hostname, maybe an extractor also can help.