Kibana IIS Reverse proxy issue

893 Views Asked by At

Reverse proxy for Kibana is not working on Windows Server 2012. I've followed the steps to configure reverse proxy to Kibana but there seems to be some problem as the reverse proxy Kibana is not loading any data whereas the localhost Kibana is working just fine. Please go to question on https://security.stackexchange.com/questions/145846/elk-stack-reverse-proxy-configuration for details.

1

There are 1 best solutions below

3
On BEST ANSWER

probably a cross domain issue, which is disallowed as default in elasticsearch. add the following to elasticsearch.yml

http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length