I’m at a complete loss for reading some log files with FIX formatting. The sidecar I’ve created is ingesting the logs but is inserting unicode characters. I’ve tried UTF8, ANSII, WIndows encoding, and they all are producing the same characters in graylog. If I cat the file in linux, it reads the file fine, so i thought maybe ANSII was the key, but that one even creates the unicode characters
filebeat_agent_version: 7.8.0
The file -bi output looks like this:
application/octet-stream; charset=binary
# Needed for Graylog
fields.source: ${sidecar.nodeName}
fields.collector_node_id: ${sidecar.nodeName}
fields.gl2_source_collector: ${sidecar.nodeId}
logging.level: debug
escape_html: false
filebeat.inputs:
- type: log
paths:
- /opt/XXX/XXX/logs/uat/W*Log*.LOG
encoding: "UTF8"
ignore_older: 48h
output.logstash:
hosts: ["monitor.rXXXXs.com:5044"]
path:
data: /var/lib/graylog-sidecar/collectors/filebeat/data
logs: /var/lib/graylog-sidecar/collectors/filebeat/log