Hi.
I have used ELK for audit mysql connection log & query log.
A few days ago, I changed configuration of elasticsearch on elasticsearch.yml.
- before : network.host: localhost
- after : network.host: 10.xx.xx.xx
And then, when I try to access kibana using web browser, following error occurred.
http://10.80.51.71:5601/
Fatal Error
Kibana: Unknown error while connecting to Elasticsearch
Error: Unknown error while connecting to Elasticsearch
Error: Authorization Exception
at respond (http://10.xx.xx.xx:5601/index.js?_b=7489:85288:15)
at checkRespForFailure (http://10.xx.xx.xx:5601/index.js?_b=7489:85256:7)
at http://10.xx.xx.xx:5601/index.js?_b=7489:83894:7
at wrappedErrback (http://10.xx.xx.xx:5601/index.js?_b=7489:20902:78)
at wrappedErrback (http://10.xx.xx.xx:5601/index.js?_b=7489:20902:78)
at wrappedErrback (http://10.xx.xx.xx:5601/index.js?_b=7489:20902:78)
at http://10.xx.xx.xx:5601/index.js?_b=7489:21035:76
at Scope.$eval (http://10.xx.xx.xx:5601/index.js?_b=7489:22022:28)
at Scope.$digest (http://10.xx.xx.xx:5601/index.js?_b=7489:21834:31)
at Scope.$apply (http://10.xx.xx.xx:5601/index.js?_b=7489:22126:24)
I executed netstat on this host.
netstat -an |grep 5601
tcp 0 0 0.0.0.0:5601 0.0.0.0:* LISTEN
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55654 ESTABLISHED
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55653 ESTABLISHED
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55656 ESTABLISHED
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55652 ESTABLISHED
What do I check to resolve this issue?