GithubHelp home page GithubHelp logo

blacktop / docker-kibana-alpine Goto Github PK

View Code? Open in Web Editor NEW
73.0 4.0 32.0 216 KB

Alpine Linux based Kibana Docker Image

License: MIT License

Makefile 3.04% Shell 34.83% Dockerfile 62.13%
kibana alpine docker docker-image x-pack

docker-kibana-alpine's Introduction

kibana-logo

docker-kibana-alpine

CircleCI License Docker Stars Docker Pulls Docker Image

Alpine Linux based Kibana Docker Image

Table of Contents

Why?

Compare Image Sizes:

  • official kibana = 1.01GB
  • blacktop/kibana = 322MB

Alpine version is 688 MB smaller !

Dependencies

Image Tags

REPOSITORY          TAG                 SIZE
blacktop/kibana     latest              360MB
blacktop/kibana     7.10                360MB
blacktop/kibana     7.9                 503MB
blacktop/kibana     7.8                 581MB
blacktop/kibana     7.7                 576MB
blacktop/kibana     7.6                 389MB
blacktop/kibana     7.5                 306MB
blacktop/kibana     7.4                 310MB
blacktop/kibana     7.3                 322MB
blacktop/kibana     7.2                 294MB
blacktop/kibana     7.1                 253MB
blacktop/kibana     7.0                 253MB
blacktop/kibana     6.8                 242MB
blacktop/kibana     6.7                 242MB
blacktop/kibana     6.6                 225MB
blacktop/kibana     6.5                 269MB
blacktop/kibana     6.4                 250MB
blacktop/kibana     6.3                 316MB
blacktop/kibana     6.2                 309MB
blacktop/kibana     6.1                 255MB
blacktop/kibana     6.0                 209MB
blacktop/kibana     5.6                 191MB
blacktop/kibana     5.5                 189MB
blacktop/kibana     5.4                 203MB
blacktop/kibana     5.3                 145MB
blacktop/kibana     x-pack              685MB
blacktop/kibana     5.2                 246MB
blacktop/kibana     5.1                 246MB
blacktop/kibana     5.0                 245.8MB
blacktop/kibana     4.6                 229.7MB

NOTE: tag x-pack is the same as tag latest, but includes the x-pack plugin.

Getting Started

$ docker run --init -d --name elasticsearch -p 9200:9200 blacktop/elasticsearch
$ docker run --init -d --name kibana --link elasticsearch -p 5601:5601 blacktop/kibana

Documentation

Customize at runtime via environment variables

There are two types of env vars:

  • KIBANA_ELASTICSEARCH_URL=http://localhost:9200
  • elasticsearch.url=http://localhost:9200

To use your own elasticsearch address via KIBANA_ELASTICSEARCH_URL

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

For elasticsearch running on a OSX host it would be

$ docker run --init -d --name kibana \
  -p 5601:5601 \
  --net host \
  -e KIBANA_ELASTICSEARCH_URL="http://$(ipconfig getifaddr en0):9200" \
  blacktop/kibana

For x-pack with basic auth:

$ docker run --init -d --name kibana \
             --restart unless-stopped \
             -p 443:5601 \
             -v /etc/letsencrypt/archive/demo.malice.io:/certs \
             -e KIBANA_SERVER_SSL_ENABLED=true \
             -e KIBANA_SERVER_SSL_KEY=/certs/privkey1.pem \
             -e KIBANA_SERVER_SSL_CERTIFICATE=/certs/cert1.pem \
             -e KIBANA_ELASTICSEARCH_URL=$KIBANA_ELASTICSEARCH_URL \
             -e KIBANA_ELASTICSEARCH_USERNAME=$KIBANA_ELASTICSEARCH_USERNAME \
             -e KIBANA_ELASTICSEARCH_PASSWORD=$KIBANA_ELASTICSEARCH_PASSWORD \
             --log-opt max-size=100m \
             --log-opt max-file=3 \
             blacktop/kibana:x-pack

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

Credits

Heavily (if not entirely) influenced by https://github.com/docker-library/kibana

License

MIT Copyright (c) 2016-2020 blacktop

docker-kibana-alpine's People

Contributors

blacktop avatar horacimacias avatar mikn avatar slobo avatar tormi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-kibana-alpine's Issues

Please add 7.9.0

It seems that image for 7.9.0 is still missing. blacktop/elasticsearch:7.9.0 does exists.

Thank you.

Kibana 7.9.3 is not working

Hello,

after upgrading to 7.9.3, I am getting:

Kibana does not support the current Node.js v10.22.0. Please use Node.js v10.22.1.

Could you please upgrade the image? Currently I can not use 7.10 image.

5.1 tag uses 5.2

the 5.1 folder has a dockerfile referencing kibana 5.2
Kibana requires its version number to match with elasticsearch.
I'd recommend creating a 5.2 tag, and supplying a patch tag for the 5.1 folder.

Not working with X-pack

It seems there is a problem with running this image with the corresponding elasticsearch image with x-pack activated.

Using this docker-compose.yml does not work

elasticsearch:
    image: blacktop/elasticsearch:7.5
    container_name: elasticsearch
    hostname: elasticsearch
    ulimits:
      memlock:
        soft: -1
        hard: -1
    ports:
      - "9200:9200"
      - "9300:9300"
    networks:
      - flex
  kibana:
    image: blacktop/kibana:7.5
    container_name: kibana
    hostname: kibana
    ports:
      - "5601:5601"
    networks:
      - flex
    depends_on:
      - elasticsearch

Gives this error

:["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch for the [data] cluster. [invalid_index_name_exception] Invalid index name [_xpack], must not start with '_'., with { index_uuid=\"_na_\" & index=\"_xpack\" } :: {\"path\":\"/_xpack\",\"statusCode\":400,\"response\":\"{\\\"error\\\":{\\\"root_cause\\\":[{\\\"type\\\":\\\"invalid_index_name_exception\\\",\\\"reason\\\":\\\"Invalid index name [_xpack], must not start with '_'.\\\",\\\"index_uuid\\\":\\\"_na_\\\",\\\"index\\\":\\\"_xpack\\\"}],\\\"type\\\":\\\"invalid_index_name_exception\\\",\\\"reason\\\":\\\"Invalid index name [_xpack], must not start with '_'.\\\",\\\"index_uuid\\\":\\\"_na_\\\",\\\"index\\\":\\\"_xpack\\\"},\\\"status\\\":400}\"}"}

and

FATAL  [mapper_parsing_exception] No handler for type [flattened] declared on field [state] :: {"path":"/.kibana_1","query":{},"b

Fix main github documentation

Compare Image Sizes:

official kibana = 242MB
blacktop/kibana = 250MB

Alpine version is 417 MB smaller !

242MB - 417MB = 250MB (not!)

Implement env var substitution

Is there any way to implement _ to . substitution and lowercasing the parameters, as dots can cause some troubles in vars when used via bash.

so HOST_NAME becomes host.name

xpack has ownership bug in optimize folder

Hi,

if I substitute the kibana.yml kibana will start its optimize process again.
After you installed the xpack I got permission denied for /usr/share/kibana/optimized.

You need to run the xpack installation as kibana user or you need to set the owner for kibana again, as you did before xpack installation.

Kibana 5.6

Hello when i start the container with this command:

docker run --init -d --name kibana --link elasticsearch -p 5601:5601 blacktop/kibana:5.6

the container stop with this error /usr/bin/node: bad option: --max-http-header-size=65536

there is a workaround?

All gpg keyservers in dockerfile are failing now

This snippet seems to be rendered useless now for the gpg verification step as none of the 3 keyservers are giving good responses anymore. It's not ideal, but to workaround it you can comment out this whole section:

if [ "$TARBALL_ASC" ]; then \
  wget --progress=bar:force -O kibana.tar.gz.asc "$TARBALL_ASC"; \
  export GNUPGHOME="$(mktemp -d)"; \
  ( gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
  || gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEY" \
  || gpg --keyserver keyserver.pgp.com --recv-keys "$GPG_KEY" ); \
  gpg --batch --verify kibana.tar.gz.asc kibana.tar.gz; \
  rm -rf "$GNUPGHOME" kibana.tar.gz.asc || true; \
  fi; \

Errors I'm seeing:

$ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "46095ACC8548582C1A2699A9D27D666CD88E42B4"
gpg: keyserver receive failed: No name

$ gpg --keyserver pgp.mit.edu --recv-keys "46095ACC8548582C1A2699A9D27D666CD88E42B4"
gpg: keyserver receive failed: No keyserver available

$ gpg --keyserver keyserver.pgp.com --recv-keys "46095ACC8548582C1A2699A9D27D666CD88E42B4"
gpg: keyserver receive failed: Connection timed out

It does look like the following is operational, however, if you want to switch to that:

  • keys.openpgp.org

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.