Just migrated from journalbeat to filebeat with journald inputs. I can correctly see the logs on graylog but the source field is not reporting the hostname anymore but “unknown” string, how do I fix that?
I noticed with my testing of the version 8 beats that graylog doesn’t set the source right. I’ve got a pipeline rule that sets the source from the Xbeat_host_name field.
I’m assuming you downloaded FileBeat and installed it solo? If so, that’s the reason you got the error above, Using those configuration I showed you above, Graylog will place the source for you, but if you downloaded FileBeat solo then yes, you will need to configure you Source in FileBeat configuration file. Or use a pipeline like @kpointer pointed out.
You are correct, I downloaded filebeat solo!
About the configuration you are suggesting me (I saw that on graylog/sidecar/configuration menu), will it work if my graylog istance is running on another host? I see those path directories are pointing to folders that not exist on my filebeat remote client
Yes,
Graylog sidecar is a wrapper for Winlogbeat, FileBeat, nxlog.
All you have to do is download the sidecar for what OS your using , do a couple configuration to the sidecar configuration file (so you get a connection) then make all your configuration using Graylog Web UI,. Its similar like using Ansible in which you make adjust to files on the Web UI and click send
I use it on 100 + nodes, if I need to make configurations, it takes 2 seconds to configure all 100+ nodes at once. I mean this does depend on the environment.