
在Debian操作系统中,Filebeat的默认配置文件一般存放在路径 /etc/filebeat/filebeat.yml 中。以下是一个基础的配置实例:
filebeat.inputs:- type: log enabled: true paths: - /var/log/*.log<p>output.elasticsearch:hosts:</p><ul><li>"localhost:9200"index: "filebeat-%{[agent.version]-%{yyyy.MM.dd}}"</li></ul><p>setup.ilm.enabled: false登录后复制
文章来自互联网,不代表电脑知识网立场。发布者:,转载请注明出处:https://www.pcxun.com/n/669111.html
