Official Repository

Last pushed: 2 days ago
Short Description
Kibana gives shape to any kind of data — structured and unstructured — indexed in Elasticsearch.
Full Description

DEPRECATED

This image has been deprecated in favor of the official kibana image provided and maintained by elastic.co. The upstream images are available to pull via docker.elastic.co/kibana/kibana:[version] like 5.4.2. The images found here will receive no further updates once the 5.6.0 release is available upstream. Please adjust your usage accordingly.

Elastic provides open-source support for Kibana via the elastic/kibana GitHub repository and the Docker image via the elastic/kibana-docker GitHub repository, as well as community support via its forums.

Supported tags and respective Dockerfile links

Quick reference

What is Kibana?

Kibana is an open source data visualization plugin for Elasticsearch. It provides visualization capabilities on top of the content indexed on an Elasticsearch cluster. Users can create bar, line and scatter plots, or pie charts and maps on top of large volumes of data.

Kibana is a registered trademark of Elasticsearch BV.

wikipedia.org/wiki/Kibana

How to use this image

You can run the default kibana command simply:

$ docker run --link some-elasticsearch:elasticsearch -d kibana

You can also pass in additional flags to kibana:

$ docker run --link some-elasticsearch:elasticsearch -d kibana --plugins /somewhere/else

This image includes EXPOSE 5601 (default port). If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:

$ docker run --name some-kibana --link some-elasticsearch:elasticsearch -p 5601:5601 -d kibana

You can also provide the address of elasticsearch via ELASTICSEARCH_URL environnement variable:

$ docker run --name some-kibana -e ELASTICSEARCH_URL=http://some-elasticsearch:9200 -p 5601:5601 -d kibana

Then, access it via http://localhost:5601 or http://host-ip:5601 in a browser.

... via docker stack deploy or docker-compose

Example stack.yml for kibana:

version: '3.1'

services:

    kibana:
        image: kibana
        ports:
            - 5601:5601

    elasticsearch:
        image: elasticsearch

Run docker stack deploy -c stack.yml kibana (or docker-compose -f stack.yml up), wait for it to initialize completely, and visit http://swarm-ip:5601, http://localhost:5601, or http://host-ip:5601 (as appropriate).

License

View license information for the software contained in this image.

Docker Pull Command

Comments (19)
maxmaxym
a month ago

How can i install this plugin
https://github.com/sirensolutions/sentinl
inside container. I tried to install this and other plugin with command bin/kibana-plugin install runned in container but i always got information that it is not kibana plugin or that there is problem with archive .

claflico
3 months ago

Please rethink the decision to deprecate this. I just started migrating our infrastructure from Puppet to Docker and this breaks our ability to use Artifactory as a docker proxy for our company.

timilsinabishal
5 months ago

Any plans for using alpine base?

shifter2600
5 months ago

Kibana Docker Fails to start after installing timelion-extras...
Adding the timelion-extras-4.x is defiantly the cause because I can delete the folder and it starts fine after.
I am using Kibana 4.6.1 Docker
Here is the Kibana Log.
FATAL { [Error: EACCES: permission denied, open '/opt/kibana/optimize/bundles/sense.entry.js']
{ [Error: EACCES: permission denied, open '/opt/kibana/optimize/bundles/sense.entry.js']
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/opt/kibana/optimize/bundles/sense.entry.js' },
isOperational: true,
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/opt/kibana/optimize/bundles/sense.entry.js' }

aelwany
6 months ago

When docker starts , it gives this error

  • exec gosu kibana tini -- kibana
    error: failed switching to "kibana": operation not permitted

how do solve this ?

whybangbang
6 months ago

my local kibana is well by my config , but when i config in docker , not work.

my steps:
(1) docker pull kibana:5.1.1
(2) docker run -d kibana:5.1.1, exec int to container
(3) sudo to user kibana
(4) chown -R kibana:kibana /usr/share/kibana/optimize/
(5) /usr/share/kibana/bin/kibana-plugin install x-pack
(6) exit, docker commit this container to B image
(7) copy a config file to PWD, and edict it, append "xpack.security.enabled: false
xpack.graph.enabled: false" and rewrite elasticsearch.url
(7) docker run --name xpack-kibana -p 5601:5601 -d -v "$PWD/kibana.yml":/etc/kibana/kibana.yml kibana_x-pack:5.1.1

then,,,,,
log is very well

{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:kibana@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:elasticsearch@5.1.1","info"],"pid":8,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:xpack_main@5.1.1","info"],"pid":8,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:elasticsearch@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from yellow to green - Kibana index ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["license","info","xpack"],"pid":8,"message":"Imported license information from Elasticsearch: mode: trial | status: active | expiry date: 2017-01-19T10:08:50+00:00"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:monitoring@5.1.1","info"],"pid":8,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Monitoring Health Check","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:xpack_main@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["reporting","warning"],"pid":8,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:reporting@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:profiler@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","plugin:monitoring@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Monitoring Health Check"}
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","plugin:console@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","plugin:timelion@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["listening","info"],"pid":8,"message":"Server running at http://localhost:5601"}
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","ui settings","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}

but http://localhost:5601/ ERR_EMPTY_RESPONSE

zhukoff
6 months ago

@michaelox, to run Kibana with X-PACK you nee to create a custom Dockerfile:

[root@dcoss1001 kibana-xpack]# cat /Dockerfile/kibana-xpack/Dockerfile

FROM kibana:5.1.1
RUN su - kibana -c "/usr/share/kibana/bin/kibana-plugin install x-pack"

The build custom image:

docker build -t zhukov/kibana-x-pack:5.1.1 /Dockerfile/kibana-xpack

And run it as usual Kibana image.

michaelox
7 months ago

hello,

how to run/start kibana image with installed x-pack plugin ?

mylesmcdonnell
7 months ago

What separator should be used to set ELASTICSEARCH_URL with multiple endpoints in a cluster?

gurbieta
8 months ago

There are already some image with this - https://elk-docker.readthedocs.io/