你可以的,加油

packetbeat不能持续发送数据,只是重启的时候发送一下数据

Beats | 作者 imsa | 发布于2018年10月16日 | 阅读数:1555

elk 5.6.10
packetbeat 5.6.10

packetbeat重启一下会采集数据,然后就不采集了 求解
 
 
2018/10/16 06:39:09.694409 mysql.go:709: WARN Invalid response: Data too small to contain a valid length
2018/10/16 06:39:09.786733 mysql.go:709: WARN Invalid response: Data too small to contain a valid length
2018/10/16 06:39:09.838897 mysql.go:709: WARN Invalid response: Data too small to contain a valid length
2018/10/16 06:39:09.934967 mysql.go:709: WARN Invalid response: Data too small to contain a valid length
2018/10/16 06:39:09.948021 mysql.go:709: WARN Invalid response: Data too small to contain a valid length
2018/10/16 06:39:18.542972 metrics.go:39: INFO Non-zero metrics in the last 30s: http.unmatched_responses=5 libbeat.es.call_count.PublishEvents=83 libbeat.es.publish.read_bytes=39775 libbeat.es.publish.write_bytes=2403846 libbeat.es.published_and_acked_events=4125 libbeat.publisher.messages_in_worker_queues=7 libbeat.publisher.published_events=3841 mysql.unmatched_requests=211 mysql.unmatched_responses=8 redis.unmatched_responses=24 tcp.dropped_because_of_gaps=258
2018/10/16 06:39:48.542965 metrics.go:39: INFO Non-zero metrics in the last 30s: libbeat.es.call_count.PublishEvents=74 libbeat.es.publish.read_bytes=35434 libbeat.es.publish.write_bytes=2066570 libbeat.es.published_and_acked_events=3662 libbeat.publisher.messages_in_worker_queues=7 libbeat.publisher.published_events=3164
2018/10/16 06:40:18.542926 metrics.go:39: INFO Non-zero metrics in the last 30s: libbeat.es.call_count.PublishEvents=67 libbeat.es.publish.read_bytes=32030 libbeat.es.publish.write_bytes=1886848 libbeat.es.published_and_acked_events=3305 libbeat.publisher.messages_in_worker_queues=24 libbeat.publisher.published_events=4160
2018/10/16 06:40:45.401897 mysql.go:709: WARN Invalid response: Data too small to contain a valid length
已邀请:

ggg

赞同来自:

看日志有采集数据

imsa

赞同来自:

主机是有数据,但是http数据太少了, 比用filebeat收集的nginx日志少太多了

ggg

赞同来自:

日志少只能看一下是否丢包,是否解码失败,或者哪里丢了日志

要回复问题请先登录注册