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

相关推荐
闻哥1 小时前
分布式任务调度框架:XXL-Job / ElasticJob / DolphinScheduler / SchedulerX 架构对比与选型
分布式·架构·wpf
笔墨登场说说1 小时前
centos 8 使用 kafka_2.13-4.3.1.tgz 安装kafka
linux·kafka·centos
明月无心照西山1 小时前
分布式任务系统的监控告警分级与自愈设计——以帮帮星球为例
分布式
guo_wen_qiang2 小时前
kafka一直restarting,报错InconsistentClusterIdException
分布式·kafka
实战派K8S&DB2 小时前
TDSQL 核心模块与进程体系
运维·数据库·分布式·sql·mysql
仍然.2 小时前
Redis---分布式锁
数据库·redis·分布式
小小龙学IT3 小时前
etcd 深度解析:Go 分布式一致性 KV 存储与 Raft 共识实战
分布式·golang·etcd
今年下半年3 小时前
【消息队列】Spring Boot 集成 Kafka 消息队列:确保消费完成(手动提交偏移量+幂等判断+失败重试机制)
spring boot·kafka·幂等·失败重试
小师兄吃牛肉11 小时前
Java 同步系列之 ZooKeeper 分布式锁
java·分布式·java-zookeeper
糟了好像在长脑子13 小时前
面试总被问分布式ID? 十分钟带你读懂美团 Leaf 号段模式
分布式