Sign inSign up

shaharil/docker-kibana

By shaharil

•Updated over 9 years ago

search guard with kibana

Image
0

299

shaharil/docker-kibana repository overview

⁠What is Kibana?

Kibana lets you visualize your Elasticsearch data and navigate the Elastic Stack, so you can do anything from learning why you're getting paged at 2:00 a.m. to understanding the impact rain might have on your quarterly numbers.

⁠How To Use

⁠docker engine

docker run -d -p 5601:5601 khezen/kibana:latest   

⁠docker-compose

⁠File Descriptors and MMap⁠

run the following command on your host:

sysctl -w vm.max_map_count=262144

You can set it permanently by modifying vm.max_map_count setting in your /etc/sysctl.conf.

⁠docker-compose.yml
version: '2'
services:
    kibana:
        image: khezen/kibana:5
        environment:
            KIBANA_PWD: changeme
            ELASTICSEARCH_HOST: localhost
            ELASTICSEARCH_PORT: 9200
        volumes:
            - /etc/kibana:/etc/kibana
        ports:
             - "5601:5601"
        network_mode: bridge
        restart: always

or

version: '2'
services:
    elasticsearch:
        image: khezen/elasticsearch
        environment:
            ELASTIC_PWD: changeme
            KIBANA_PWD: brucewayne
        volumes:
            - /data/elasticsearch:/usr/share/elasticsearch/data
            - /etc/elasticsearch:/usr/share/elasticsearch/config 
        ports:
             - "9200:9200"
             - "9300:9300"
        network_mode: bridge
        restart: always

    kibana:
        links:
            - elasticsearch
        image: khezen/kibana:5
        environment:
            KIBANA_PWD: brucewayne
            ELASTICSEARCH_HOST: elasticsearch
            ELASTICSEARCH_PORT: 9200
        volumes:
            - /etc/kibana:/etc/kibana
        ports:
             - "5601:5601"
        network_mode: bridge
        restart: always

⁠Environment Variables

⁠KIBANA_PWD | changeme

password for elasticsearch built-in user kibana.

⁠ELASTICSEARCH_HOST | elasticsearch

Elasticsearch hostname.

⁠ELASTICSEARCH_PORT | 9200

Elasticsearch port.

⁠Configure Kibana

Configuration file is located in /etc/kibana/kibana.yml if you follow the same volume mapping as in docker-compose examples above.

You can find default config there⁠.

You can find help with kibana configuration there⁠.

⁠User Feedback

⁠Issues

If you have any problems with or questions about this image, please ask for help through a GitHub issue⁠.

Tag summary

Content type

Image

Digest

Size

249.9 MB

Last updated

over 9 years ago

docker pull shaharil/docker-kibana