About
Kibana is the visualisation tool of Elastisearch.
Installation
- Docker: https://www.docker.elastic.co/
# oss: only open source Kibana.
docker pull docker.elastic.co/kibana/kibana-oss:6.0.0
# with X-Pack pre-installed.
docker pull docker.elastic.co/kibana/kibana:6.0.0
- Configuration kibana.yml
- Environment variables are translated to CLI arguments. They take thenprecedence over settings configured in kibana.yml.
Environment Variable | Kibana Setting | Default | Note |
---|---|---|---|
SERVER_NAME | server.name | kibana | |
SERVER_HOST | server.host | “0” | |
ELASTICSEARCH_URL | elasticsearch.url | http://elasticsearch:9200 | |
KIBANA_DEFAULTAPPID | kibana.defaultAppId | ||
XPACK_MONITORING_ENABLED | xpack.monitoring.enabled | ||
ELASTICSEARCH_USERNAME | elasticsearch.username | elastic | only xpack |
ELASTICSEARCH_PASSWORD | elasticsearch.password | changeme | only xpack |
… | xpack.monitoring.ui.container.elasticsearch.enabled | true | only xpack |
- Docker - docker-compose.yml kibana.yml via bind-mounting
version: '2'
services:
kibana:
image: docker.elastic.co/kibana/kibana:6.0.0
volumes:
- ./kibana.yml:/usr/share/kibana/config/kibana.yml
environment:
SERVER_NAME: kibana.example.org
ELASTICSEARCH_URL: http://elasticsearch.example.org
ports:
- "5601:5601"
docker-elk
git clone https://github.com/deviantony/docker-elk .
docker-compose up -d
Removing dockerelk_elasticsearch_1
Recreating 3a7da173265f_3a7da173265f_3a7da173265f_3a7da173265f_3a7da173265f_dockerelk_elasticsearch_1 ...
Recreating 3a7da173265f_3a7da173265f_3a7da173265f_3a7da173265f_3a7da173265f_dockerelk_elasticsearch_1 ... done
Creating dockerelk_kibana_1 ...
Creating dockerelk_kibana_1
Creating dockerelk_logstash_1 ...
Creating dockerelk_logstash_1 ... done
Connect
- Accessing:
- Home Page: localhost:5601 or http://YOURDOMAIN.com:5601.
- Status: localhost:5601/status
https://www.elastic.co/guide/en/kibana/6.0/connect-to-elasticsearch.html