文章目录
项目roles结构
各组件yml文件内容
-
files
存放上传文件的目录.-
filebeat.service
[Unit] Description=Starts and stops a single filebeat instance on this system After=network-online.target [Service] Type=simple WorkingDirectory=/var/tmp EnvironmentFile=-/etc/local_ip.env ExecStart=/usr/local/filebeat-5.3.3/filebeat -c /usr/local/filebeat-5.3.3/filebeat.yml ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure KillMode=process RestartSec=32s MemoryLimit=500M StandardOutput=null [Install] WantedBy=multi-user.target
-
filebeat.yml
filebeat.prospectors: - type: log paths: - /var/log/*/*/*timelinereader*.
-