filebeat systemctl 後臺運行

運行、停止

運行後,記得查看運行使用的配置文件,是否是你指定的配置文件

systemctl start filebeat
systemctl stop filebeat

開機啓動

默認情況下,系統啓動時Filebeat服務會自動啓動。要啓用或禁用自動啓動,請使用:

systemctl enable filebeat
systemctl enable filebeat

運行狀態

systemctl status filebeat

日誌

journalctl -u filebeat.service

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章