博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
filebeat 简介安装
阅读量:5055 次
发布时间:2019-06-12

本文共 1387 字,大约阅读时间需要 4 分钟。

Filebeat is a lightweight shipper for forwarding and centralizing log data. Installed as an agent on your servers, Filebeat monitors the log files or locations that you specify, collects log events, and forwards them to either to  or  for indexing.

Here’s how Filebeat works: When you start Filebeat, it starts one or more inputs that look in the locations you’ve specified for log data. For each log that Filebeat locates, Filebeat starts a harvester. Each harvester reads a single log for new content and sends the new log data to libbeat, which aggregates the events and sends the aggregated data to the output that you’ve configured for Filebeat.

 

To add the Beats repository for YUM:

  1. Download and install the public signing key:

    sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
  2. Create a file with a .repo extension (for example, elastic.repo) in your /etc/yum.repos.d/directory and add the following lines:

    [elastic-6.x]name=Elastic repository for 6.x packagesbaseurl=https://artifacts.elastic.co/packages/6.x/yumgpgcheck=1gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearchenabled=1autorefresh=1type=rpm-md

    Your repository is ready to use. For example, you can install Filebeat by running:

    sudo yum install filebeat
  3. To configure the Beat to start automatically during boot, run:

    sudo chkconfig --add filebeat

转载于:https://www.cnblogs.com/royfans/p/9973294.html

你可能感兴趣的文章
python3 练习题100例 (一)
查看>>
多行字符串,引号与反引号
查看>>
(转载)Java基础知识总结
查看>>
自动类型转换
查看>>
三维地理信息平台介绍与比较
查看>>
hard(2018.10.18)
查看>>
Mongo连接池操纵MongoOptions
查看>>
UVA 11609 Teams 组合数学+快速幂
查看>>
UVA - 1401 Remember the Word trie+DP
查看>>
1004. Counting Leaves (30)
查看>>
MyBatis的SQL语句映射文件详解
查看>>
高精加
查看>>
线性回归
查看>>
TCP、UDP以及HTTP的简单讲解
查看>>
Python学习之路-24 (面向对象Python2.7类继承)
查看>>
数据挖掘概念杂记
查看>>
MongoDB工具
查看>>
JAVA反射机制(转)
查看>>
springboot扫描通用的依赖模块
查看>>
一个用于图片上传的工具类(原)
查看>>