云搜索服务 CSS-自建Kibana如何对接云搜索服务的Elasticsearch?

时间:2023-12-25 09:09:01

自建Kibana如何对接 云搜索服务 的Elasticsearch?

自建Kibana对接 云搜索 服务的ES,需满足如下条件:

  • 本地环境需要支持外网访问。
  • 通过同vpc下E CS 服务搭建Kibana,本地公网访问Kibana即可。
  • 只支持OSS版本的Kibana镜像连接到云搜索服务的Elasticsearch。

Kibana配置文件参考:

  • 安全模式:
    elasticsearch.username: "***"
    elasticsearch.password: "***"
    elasticsearch.ssl.verificationMode: none
    server.ssl.enabled: false
    server.rewriteBasePath: false
    server.port: 5601
    logging.dest: /home/Ruby/log/kibana.log
    pid.file: /home/Ruby/run/kibana.pid
    server.host: 192.168.xxx.xxx
    elasticsearch.hosts: https://10.0.0.xxx:9200
    elasticsearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
    opendistro_security.multitenancy.enabled: true
    opendistro_security.multitenancy.tenants.enable_global: true
    opendistro_security.multitenancy.tenants.enable_private: true
    opendistro_security.multitenancy.tenants.preferred: ["Private", "Global"]
    opendistro_security.multitenancy.enable_filter: false
  • 非安全模式:
    server.port: 5601
    logging.dest: /home/Ruby/log/kibana.log
    pid.file: /home/Ruby/run/kibana.pid
    server.host: 192.168.xxx.xxx
    elasticsearch.hosts: http://10.0.0.xxx:9200
support.huaweicloud.com/css_faq/css_02_0097.html