修改默认配置
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["172.16.xx.xx:9200"]
未配(参考)
## HTTP
protocols:
http:
ports: [80, 8080]
send_response: true
include_body_for: ["text/html"]
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["172.16.xx.xx:9200"]
## HTTP
protocols:
http:
ports: [80, 8080]
send_response: true
include_body_for: ["text/html"]
转载于:https://my.oschina.net/attacker/blog/2206666