好的想法是十分钱一打,真正无价的是能够实现这些想法的人。

packetbeat 报http_parser.go:156: WARN Failed to understand HTTP response status: 200

Beats | 作者 jason0112 | 发布于2018年04月07日 | 阅读数:3638

[b]packetbeat.yml配置
[/b]
packetbeat.interfaces.device: lo0

packetbeat.protocols:
ports: [8088]
send_request: true
include_body_for: ["application/json", "application/x-www-form-urlencoded", "multipart/form-data"]


output.logstash:
# The Logstash hosts
hosts: ["localhost:5044"]
send_response: false
[b]logstash配置
[/b]
input {
beats {
port => 5044
}
}

output {
stdout{codec=>rubydebug}
}

 
浏览器请求:http://localhost:8088/
 
packetbeat 报:http_parser.go:156: WARN Failed to understand HTTP response status: 200
 
logstash无何反应,
 
packetbeat 其它配置无问题,问题只出现在http协议!请大牛帮忙看看,谢谢!
 
 
 
已邀请:

ggg

赞同来自:

这个还是跟一下http_parser.go代码为好

notliulk

赞同来自:

你好,这个问题你怎么解决的

要回复问题请先登录注册