[英]Error in send logs of filebeat to kibana?
I configured to access it from the browser with HTTPS and when I configured filebeat I let kibana by default with http我配置为使用 HTTPS 从浏览器访问它,当我配置 filebeat 时,我默认使用 http 让 kibana
# =================================== Kibana ===================================
# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:
# Kibana Host
# Scheme and port can be left out and will be set to the default (http and 5601)
# In case you specify and additional path, the scheme is required: http://localhost:5601/path
# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
host: "192.168.37.2:5601"
# Kibana Space ID
# ID of the Kibana Space into which the dashboards should be loaded. By default,
# the Default Space will be used.
#space.id:
and when i try this cmd "filebeat setup -e" it show me this error :
Loading dashboards (Kibana must be running and reachable)
{"log.level":"info","@timestamp":"2022-07-25T12:29:00.713Z","log.logger":"kibana", "log.origin":{"file.name":"kibana/client.go","file.line":179},"message":"Kibana ur l: http://192.168.37.2:5601","service.name":"filebeat","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-07-25T12:29:00.716Z","log.origin":{"file.n ame":"instance/beat.go","file.line":1051},"message":"Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://192.168.37.2:56 01/api/status fails: fail to execute the HTTP GET request: Get \"http://192.168.37 .2:5601/api/status\": EOF. Response: ","service.name":"filebeat","ecs.version":"1. 6.0"}
i configured to access it from the browser with HTTPS and when i configured filebeat i let kibana by default with http我配置为使用 HTTPS 从浏览器访问它,当我配置 filebeat 时,我默认使用 http 让 kibana
=================================== Kibana
==================================== Kibana
===================================
====================================
# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. # This requires a Kibana endpoint configuration. setup.kibana: # Kibana Host # Scheme and port can be left out and will be set to the default (http and 5601) # In case you specify and additional path, the scheme is required: http://localhost:5601/path # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601 host: "192.168.37.2:5601" # Kibana Space ID # ID of the Kibana Space into which the dashboards should be loaded. By default, # the Default Space will be used.
and when i try this cmd "filebeat setup -e" it show me this error:当我尝试这个 cmd“filebeat setup -e”时,它显示了这个错误:
Loading dashboards (Kibana must be running and reachable) {"log.level":"info","@timestamp":"2022-07-25T12:29:00.713Z","log.logger":"kibana", "log.origin":{"file.name":"kibana/client.go","file.line":179},"message":"Kibana ur
加载仪表板(Kibana 必须正在运行且可访问){"log.level":"info","@timestamp":"2022-07-25T12:29:00.713Z","log.logger":"kibana", " log.origin":{"file.name":"kibana/client.go","file.line":179},"message":"Kibana 你
l: http://192.168.37.2:5601","service.name":"filebeat","ecs.version":"1.6.0"} {"log.level":"error","@timestamp":"2022-07-25T12:29:00.716Z","log.origin":{"file.n ame":"instance/beat.go","file.line":1051},"message":"Exiting: error connecting tol: http://192.168.37.2:5601","service.name":"filebeat","ecs.version":"1.6.0"} {"log.level":"error","@timestamp" :"2022-07-25T12:29:00.716Z","log.origin":{"file.name":"instance/beat.go","file.line":1051},"message":"退出:连接错误
Kibana: fail to get the Kibana version: HTTP GET request to http://192.168.37.2:56Kibana:获取 Kibana 版本失败:HTTP GET request to http://192.168.37.2:56
01/api/status fails: fail to execute the HTTP GET request: Get "http://192.168.3701/api/status失败:执行HTTP GET请求失败:Get "http://192.168.37
.2:5601/api/status": EOF. Response: ","service.name":"filebeat","ecs.version":"1..2:5601/api/status": EOF。响应:","service.name":"filebeat","ecs.version":"1.
6.0"}6.0"}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.