I'm running journalbeat-6.7.1-1 on CentOS 7.6 and Fedora 28, and i'm noticing that journal beat is duplicating some but NOT all messages. The only thing that appears different between the messages is the journalbeat_read_timestamp field.
Exampe:
Journalctl output shows four (4) messages:
Apr 08 17:20:05 fedora.ddiguru.net systemd[1]: Starting system activity accounting tool...
Apr 08 17:20:05 fedora.ddiguru.net audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sysstat-collect comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 08 17:20:05 fedora.ddiguru.net audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sysstat-collect comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 08 17:20:05 fedora.ddiguru.net systemd[1]: Started system activity accounting tool.
Journalbeat sent the following five (5) messages to my Graylog/Elasticsearch cluster(s):
My configuration is fairly simple:
#----------------------------------------- Journalbeat Input --------------------------------------------------
journalbeat.inputs:
- paths:
- "/var/log/journal/9926d0e1c68d4a1e9c9a69fd51bd65d8/system.journal"
seek: cursor
cursor_seek_fallback: head
#------------------------------------------- Logstash Output -------------------------------------------------
output.logstash:
hosts: ["192.168.4.37:5044"]
seccomp.enabled: false
Is there something i'm missing? Do i need to tune this with a memory queue? other? Please advise. Thanks