Kibana dashboard not working with demo application #320
Comments
Could you try to execute |
$ docker-compose build Above is error, since i was relying on docker image. WARNING: ASG has detected a virus/PUS in this Currently i am using composer file which is coming along with project bundle. It looks different from what i see in below (atleast versions used). Would trying with versions as given in below file will help? |
Yes, please try the current version. You can check it out with
Who emits that warning? I hope that this is a false positive. |
Sure, i will try with latest and post the updates. |
I have executed docker-compose build before docker-compose up. |
what do the logs say? |
Below is log which could be resulting in this. May be i should change ? Detailed logs in below reference URL.
|
i changed stagemonitor.elasticsearch.url = http://192.168.99.100:9200
|
Logs are looking good. You can safely ignore the errors. Can you open kibana now? If not, could you post the docker-compose logs? |
http://192.168.99.100:5601/ -> this results in "This site can’t be reached" error in browser service containers (ES, Kibana) is running in background. so i dont have access to logs. Is there anyway we could get logs when it is running in background. Below is the sequence i execute these commands. docker-compose build Will running 'docker-compose up' and sending logs will be helpful? |
You can run docker-compose up to not run it in the background or execute docker-compose logs to see the logs
yes |
logs attached |
It's really strange that there are no outputs from Kibana whatsoever. I can't quite explain that. I'm not using Windows at work, but I will try to reproduce that at home. |
I have seen Kibana logs, but it was on 14th Sept. Today, i had the same version of code/tool/software and nothing changed and dont see Kibana logs anymore. I did pulled the latest of demo application code as well today, but still i couldnt see anything showing up for Kibana. Thanks a lot Felix for your help. Let me know if you get any clue on what i could be missing. |
Please see below as continuation of log4.txt. After an hour, i have got below information in logs
|
Removed below section in docker compose. I am able to access the Kibana dashboard now. Thanks for your help. I will continue to learn this and post if i have any further queries.
|
Hi,
I am trying to install the demo project and try out various steps explained in the documentation.
I am able to successfully complete step 1 (Step 1: In Browser Widget)
With respect to step 2, i am not able to access Kibana dashboard
I am using docker toolbox in windows 7.
Executed below command and started all 3 services (elasticsearch, kibana, grafana)
docker-compose up -d
Executed docker ps
It listed as below
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c72cebdf88d8 grafana/grafana:4.3.1 "/run.sh" 7 minutes ago Up 7 minutes 0.0.0.0:3000->3000/tcp springpetclinic_grafana4_1
ef32a4d3c251 docker.elastic.co/kibana/kibana:5.4.0 "/bin/sh -c /usr/loca" 7 minutes ago Up 7 minutes 0.0.0.0:5601->5601/tcp springpetclinic_kibana5_1
70451b53e6ac docker.elastic.co/elasticsearch/elasticsearch:5.4.0 "/bin/bash bin/es-doc" 7 minutes ago Up 7 minutes 0.0.0.0:9200->9200/tcp, 9300/tcp elasticsearch
Then i ran below command
mvn tomcat7:run
This command started the application in tomcat server.
When i executed below URL for elasticsearch, it works fine
http://192.168.99.100:9200/
But Kibana dashboard doesnt work when i execute below URL
http://192.168.99.100:5601/ (It says "this site can't be reached).
In docker-compose.yml, i checked config option for Kibana having attribute ELASTICSEARCH_URL
Original value of this is http://elasticsearch:9200
I changed it to http://localhost:9200, still didnt work
I changed it to http://192.168.99.100:9200, still didnt work
I changed it to http://172.18.0.2:9200, still didnt work
NOTE: When i execute docker-compose up, i can see logs appearing for Grafana and ES. But no logs i could see for Kibana.
log.txt
Any help on this will be great.
The text was updated successfully, but these errors were encountered: