我在linux中安装了kibana,但它不起作用

r9f1avp5  于 2021-06-14  发布在  ElasticSearch
关注(0)|答案(1)|浏览(645)

我在本地pc上使用过kibana和elasticsearch,但在linux服务器上使用kibana时遇到了一些错误。我在linux服务器上安装了elasticsearch和kibana 7.9.2版。我将端口5601分配为log.gurukul.ninja。当我在浏览器中打开log.gurukul.ninja时,我看不到kibana。对于elasticsearch和kibana,我是linux服务器的新手。我想知道如何使用它。有关详细信息:
Kibanayml

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
rbpvctlc

rbpvctlc1#

你应该定义kibana server.host 作为kibana.yml中的外部ip或主机名。

server.host: "log.gurukul.ninja"

或者类似的:

server.host: "192.168.1.10"

默认配置是localhost,您可以通过http://localhost:5601

相关问题