centos7安装Filebeat采集日志文件存到Elasticsearch
生活随笔
收集整理的這篇文章主要介紹了
centos7安装Filebeat采集日志文件存到Elasticsearch
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
概述
Filebeat是Beats家族的成員之一,是個輕量級的日志采集工具,通過收集日志信息,可以轉發到 Elasticsearch 或者 Logstash進行索引存儲。
工作原理
當啟動Filebeat時,它會啟動一個或多個輸入來定位日志文件。對于每個日志文件,都將啟動一個harvester(收割機),harvester讀取單個日志文件以獲取新的內容,并將新的日志數據發送到libbeat,libbeat聚合數據并發送到配置的output端,例如elasticsearch等等。
環境
CentOS 7.3
Filebeat 7.6.0
Elasticsearch 7.6.0
官網:https://www.elastic.co/cn/beats/filebeat
官方文檔:https://www.elastic.co/guide/en/beats/filebeat/current/index.html
安裝配置
#解壓 tar總結
以上是生活随笔為你收集整理的centos7安装Filebeat采集日志文件存到Elasticsearch的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Nginx教程系列二:Linux安装ng
- 下一篇: Filebeat常用配置