Kibana IIS 反向代理问题
Kibana IIS Reverse proxy issue
Kibana 的反向代理无法在 Windows Server 2012 上运行。
我已按照步骤配置 Kibana 的反向代理,但似乎存在一些问题,因为反向代理 Kibana 未加载任何数据,而本地主机 Kibana 工作正常。
详情请到 https://security.stackexchange.com/questions/145846/elk-stack-reverse-proxy-configuration 提问。
可能是跨域问题,elasticsearch默认是不允许的。
将以下内容添加到 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
Kibana 的反向代理无法在 Windows Server 2012 上运行。 我已按照步骤配置 Kibana 的反向代理,但似乎存在一些问题,因为反向代理 Kibana 未加载任何数据,而本地主机 Kibana 工作正常。 详情请到 https://security.stackexchange.com/questions/145846/elk-stack-reverse-proxy-configuration 提问。
可能是跨域问题,elasticsearch默认是不允许的。 将以下内容添加到 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