運行、停止
運行後,記得查看運行使用的配置文件,是否是你指定的配置文件
systemctl start filebeat
systemctl stop filebeat
開機啓動
默認情況下,系統啓動時Filebeat服務會自動啓動。要啓用或禁用自動啓動,請使用:
systemctl enable filebeat
systemctl enable filebeat
運行狀態
systemctl status filebeat
日誌
journalctl -u filebeat.service