我在本地PC的Windows中使用过kibana和elasticsearch。 但是当我使用安装在linux服务器上的kibana时遇到了一些错误。 我在Linux服务器上安装了elasticsearch和kibana版本7.9.2。 我将端口5601分配为log.gurukul.ninja。 当我在浏览器中打开log.gurukul.ninja时,在那看不到kibana。 我是linux服务器上的Elasticsearch和kibana的新手。 我想知道如何使用它。 有关更多详细信息:
kibana.yml
server.port: 5601
server.host: "175.101.13.126"
server.name: "Ninja Logs"
elasticsearch.hosts: ["http://127.0.0.1:9200"]
elasticsearch.username: "something"
elasticsearch.password: "something"
elasticsearch.tml
xpack.security.enabled: true
错误
log [10:15:26.879] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: beats_management
log [10:15:26.890] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: triggers_actions_ui
log [10:15:36.150] [info][plugins-service] Plugin "visTypeXy" is disabled.
log [10:15:36.151] [info][plugins-service] Plugin "auditTrail" is disabled.
log [10:15:36.421] [warning][config][deprecation] Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0."
log [10:15:36.443] [fatal][root] { Error: listen EADDRNOTAVAIL: address not available 175.101.13.126:5601
at Server.setupListenHandle [as _listen2] (net.js:1263:19)
at listenInCluster (net.js:1328:12)
at doListen (net.js:1461:7)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen',
address: '175.101.13.126',
port: 5601 }
FATAL Error: listen EADDRNOTAVAIL: address not available 175.101.13.126:5601
答案 0 :(得分:0)
您应该在kibana.yml中将kibana server.host
定义为外部IP或主机名。
server.host: "log.gurukul.ninja"
或类似的东西:
server.host: "192.168.1.10"
默认配置为localhost,您可以通过http:// localhost:5601
查看kibana仪表板