Help Center> Cloud Search Service> FAQs> Kibana Usage> How Do I Connect the User-Built Kibana to Elasticsearch on CSS?
Updated on 2023-09-20 GMT+08:00

How Do I Connect the User-Built Kibana to Elasticsearch on CSS?

To connect the user-built Kibana with to Elasticsearch on CSS, the following conditions must be met:

  • The local environment must support access from external networks.
  • Kibana is built using ECS in the same VPC as Elasticsearch. Kibana can be accessed from the local public network.
  • Only Kibana images of the OSS version can be connected to Elasticsearch on CSS.

Example of a Kibana configuration file:

  • Security mode:
    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
  • Non-security mode
    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

Kibana Usage FAQs

more