I am testing Filebeat as a replacement for NXlog for inputting text files. I have setup a Beats input for Graylog, and it is receiving from my text file properly. So far so good.
The only problem is that the entries I see coming into Graylog have stripped down the hostname: they have removed the domain name. For example: In Graylog I would expect to see ‘machine1.mydomain.com’, but these log entries are simply from ‘machine1’.
Without using an extractor is there anyway to get the Beats input to display full hostnames like all my other inputs do?
Hmm… when you run ‘hostname’ on Windows (Win10) it does not echo the full hostname with domain like it does when you run it on Linux (CentOS). I will find a workaround.