Setting Elaticsearch and Kibana

Install Elasticsearch

I followed the guide listed here

Install Kibana

I followed the guide listed here

  $ sudo vi /etc/kibana/kibana.yml

    # Modify these lines
    server.port: 5601
    server.host: "0.0.0.0"

Secure Elasticsearch & Kibana

For Security, here

  $ sudo /usr/share/elasticsearch/bin/elasticsearch-certutil cert -out /etc/elasticsearch/config/elastic-certificates.p12 -pass ""

  # If you meed "failed to initialize SSL TrustManager - access to read truststore file"
  $ chmod -R 770 /etc/elasticsearch/config

/etc/elasticsearch/elasticsearch.yml should look like this:

Start elasticsearch

Open /etc/kibana/kibana.yml

And finally start/restart kibana

Browse http://{ES_URL}:5601

If you see Kibana login you have made it well. But when you don't clear your browser cache and try again.

참고

Last updated

Was this helpful?