elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Allow server.host to accept multiple interfaces (like Elasticsearch) #64484

Open archon810 opened 4 years ago

archon810 commented 4 years ago

Hi,

I'd like to be able to access kibana by typing in localhost:5601 as well as MACHINE_HOST_NAME:5601.

Elastic can do it easily with network.host: [_site_, _local_]. But I haven't found a way to do this in kibana.

I found https://stackoverflow.com/questions/34661210/how-to-bind-kibana-to-multiple-host-names-ips, which suggests 0.0.0.0 but ideally I'd like it to be only bound to localhost and eth0:1, which is 192.168.0.0/16 (private) and not the public IP.

I also cross-posted this here https://discuss.elastic.co/t/bind-kibanas-server-host-to-multiple-interfaces-both-localhost-and-192-168-0-0-16/229789.

Please advise.

Thanks.

elasticmachine commented 4 years ago

Pinging @elastic/kibana-platform (Team:Platform)

gbschenkel commented 2 years ago

This feature is still desired, I am running a homelab with DHCP attributing automatically static dns to the hosts, since I don't run kibana 24/7, sometimes the IP change, but kibana can't follow to a new IP. Than I need to connect and change manually the IP. Or I need use a static IP just for Kibana. I would like to use eth0 as in elasticsearch.

Also kibana is not resolving ${HOSTNAME} as Environment Variable on server.host. I miss a documentation with all default environment variable.