即使我已将节拍日志写入文件,但仍将日志仅写入syslog。下面是metricbeat的配置,我也有相同的filebeat。但是两者都将大量日志写入/ var / logs / messages中,如何避免这些问题?
logging.level: info
logging.to_syslog: false
logging.to_files: true
logging.files:
path: /opt/metricbeat/logs
name: metricbeat
keepfiles: 15
permissions: 0755