Docker Templates
All Templates

ELK Stack

Elasticsearch Stack.

MonitoringUpdated 17 days ago·3 files

Elasticsearch

Awesome but heavy

Token

You need a token to connect Kibana to Elastic.

1.

First start elastic with: docker compose up -d elastic

2.

docker exec -it elastic-elasticsearch-1 bin/elasticsearch-service-tokens create elastic/kibana kibana-new-token

3.

Now place the token in the kibana.yml file: elasticsearch.serviceAccountToken:xxxxxxxx Also generate a32 char string:

xpack.security.encryptionKey: "32_CHAR_HASH"
xpack.encryptedSavedObjects.encryptionKey: "32_CHAR_HASH"
xpack.reporting.encryptionKey: "32_CHAR_HASH"

4.

Run kibana with: docker compose up -d kibana