Windows server部署filebeat到kafka

需求:Windows dhcp日志需要实时传输到elk或者其他告警平台。

1、filebeat下载地址:https://www.elastic.co/cn/downloads/beats/filebeat

2、下载后解压后配置filebeat.yml文件,

3、README.md文件中有运行的操作方法:cmd上进入filebeat的目录下执行filebeat -c filebeat.yml -e即可运行。

# Welcome to Filebeat 8.10.3

Filebeat sends log files to Logstash or directly to Elasticsearch.

## Getting Started

To get started with Filebeat, you need to set up Elasticsearch on
your localhost first. After that, start Filebeat with:

     ./filebeat -c filebeat.yml -e

This will start Filebeat and send the data to your Elasticsearch
instance. To load the dashboards for Filebeat into Kibana, run:

    ./filebeat setup -e

For further steps visit the
[Quick start](https://www.elastic.co/guide/en/beats/filebeat/8.10/filebeat-installation-configuration.html) guide.

## Documentation

Visit [Elastic.co Docs](https://www.elastic.co/guide/en/beats/filebeat/8.10/index.html)
for the full Filebeat documentation.

## Release notes

https://www.elastic.co/guide/en/beats/libbeat/8.10/release-notes-8.10.3.html

#备注:遇到gbk的文件,在centos上乱码,可以filebeat转一下

filebeat.inputs:
- type: log
  encoding: GB2312

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值