Dear Team,
I added serverbase/baseurl in the kibana.yml. It is not taking that . Could you please tell me how to add proxy to kibana4.4
Thanks In Advance.
Regards
Sreenivasu
Dear Team,
I added serverbase/baseurl in the kibana.yml. It is not taking that . Could you please tell me how to add proxy to kibana4.4
Thanks In Advance.
Regards
Sreenivasu
Can you share the following information, please?
kibana.yml
where you are setting the server basepath../bin/kibana
.Dear Shaunak,
Please find the requested data.
server.port: 5601
server.host: "192.168.17.73"
server.basePath: "/kibana"
elasticsearch.url: "http://192.168.17.73:9200"
elasticsearch
. If you set it to false,kibana.index: ".kibana"
kibana.defaultAppId: "discover"
log [19:12:20.680] [info][optimize] Optimizing and caching bundles for kibana and statusPage. This may take a few minutes
log [19:12:58.241] [info][optimize] Optimization of bundles for kibana and statusPage complete in 37.56 seconds
log [19:12:58.268] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready
log [19:12:58.313] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [19:12:58.334] [info][status][plugin:kbn_vislib_vis_types] Status changed from uninitialized to green - Ready
log [19:12:58.340] [info][status][plugin:markdown_vis] Status changed from uninitialized to green - Ready
log [19:12:58.355] [info][status][plugin:metric_vis] Status changed from uninitialized to green - Ready
log [19:12:58.359] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready
log [19:12:58.362] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready
log [19:12:58.363] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready
log [19:12:58.367] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready
log [19:12:58.383] [info][listening] Server running at http://192.168.17.73:5601
Thanks
Sreenivasu
All of that looks good. When you say (in your original post), "it is not taking that", what exactly is happening? Any errors you can post here?
http://172.29.106.161:5601 , If I add server.basePath: "/kibana" in kibana.yml ,
I can use the url like this http://172.29.106.161/kibana in old version of kibana, where as in nwe version it is not working.
Basically I am trying to avoid the port number.
Thanks
Sreenivasu
What proxy are you using? Can you share your proxy config as well? I can try to reproduce this issue.
I am using ngnix proxy.
location ~* /kibana {
access_log /var/log/nginx/kibana.access.log main;
error_log /var/log/nginx/kibana.error.log;
rewrite ^/$ /kibana/$1 break;
rewrite ^/kibana/(.*) /kibana/$1 break;
proxy_pass http://kibana_tool_v1;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
}
Dear Shaunak,
Did you get chance to check this.
Thanks
Sreeni
Any update would be appriciated.
Thanks
Sreeni
Here's my nginx conf
$ cat /etc/nginx/conf.d/kibana.conf
server {
listen 80;
server_name kibana;
error_log /var/log/nginx/kibana.error.log;
access_log /var/log/nginx/kibana.access.log;
location / {
rewrite ^/(.*) /$1 break;
proxy_ignore_client_abort on;
proxy_pass http://localhost:5601;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_read_timeout 6m;
}
}
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.