Comments (4)
Hi,
Thanks for the detailed report. Unfortunately, I haven't been able to replicate the behaviour.
Could you provide your kibana.yml
? I'm guessing that the ID of your Kibana instance is changing with each docker-compose up
.
Thanks.
from kibana-docker.
Upon startup, Kibana generates an instance UUID if one doesn't exist, which it stores in the Kibana data directory. If that directory is being cleared upon restart, then it will generate a new UUID.
Monitoring will show one "Kibana instance" per UUID, though note that it will only display Kibana Instance/UUIDs that have sent data in the currently selected time window. So if you are looking at the last 1 hour window (the default), it will show all nodes that had data in that window. If you wait an hour after your last restart of Kibana, you will see just one node displayed, I believe.
from kibana-docker.
Thanks jarpy/sk
I dont have any kibana.yml --> based on the docker i am using the default which is present inside the docker kibana image which i don't provide any volume mapping.
Currently based on your suggestion i do provide a volume mapping to the kibana data where it create the UUID so my configuration looks like
- /c/Users/dockeroffice/kibanadata/data:/usr/share/kibana/data
Could you please confirm is that the right approach. I have tested multiple times after I stopped the docker-compose and restarted it seems to be working where it shows only only instance all the time
Below is the complete
version: '2'
services:
kibana:
image: docker.elastic.co/kibana/kibana:5.1.1
ports:
- 5601:5601
networks:
- esnet
environment:
SERVER_NAME: kibana.docker
ELASTICSEARCH_URL: http://192.168.99.100:9200/
volumes:
- /c/Users/dockeroffice/kibanadata/data:/usr/share/kibana/data
elasticsearch1:
image: docker.elastic.co/elasticsearch/elasticsearch:5.1.1
container_name: elasticsearch1
environment:
- node.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 1g
cap_add:
- IPC_LOCK
volumes:
- /c/Users/dockeroffice/elknode1/data:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- esnet
networks:
esnet:
driver: bridge
from kibana-docker.
I think that's a great solution. Nice work, @mathewvino, and thank you, @skearns64 for the tip.
from kibana-docker.
Related Issues (20)
- Kubernetes MustRunAsNonRoot issue
- Unable to configure xpack.infra ENV vars HOT 6
- Support spaces in environment variables? HOT 3
- Kibana variable `elasticsearch.hosts` not supported in 6.6.0 BC6 docker image HOT 1
- Docker image for 6.6 Kibana HOT 1
- Userns-Remap issue permission denied HOT 8
- Error: is unauthorized for user HOT 4
- Running with reverse proxy HOT 1
- Support _FILE environment variable? HOT 1
- elasticsearch.hosts or elasticsearch.url are not picked up at all in version 6.7.0 HOT 12
- xpack.uptime.enabled & xpack.maps.enabled missing HOT 1
- Error running Kibana as non-root user HOT 1
- CTRL-c not effective. HOT 4
- Missing server.rewriteBasePath in kibana_vars HOT 4
- Docker Kibana 6.3.2 loading issues HOT 10
- Errors with userns-remap HOT 2
- Missing xpack.monitoring.ui.container.logstash.enabled in kibana_vars
- kibana image can't access network HOT 7
- kibana docker image HOT 4
- Test test_all_files_in_kibana_directory_are_group_writable fails with latest snapshot HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kibana-docker.