my ELK stack is running in AKS, when I try to curl the Kibana ingress URL, I got 302 code and and I see it is redirected to /spaces/enter. I wonder why and how I can make it to work.
curl http:/app/kibana
About to connect() to 135.170.111.210 port 80 (#0)
Trying 135.170.111.210... connected
Connected to 135.170.111.210 (135.170.111.210) port 80 (#0)
This is for accessing Kibana web site externally, i.e. from outside of the AKS. With the ingress rules, I should be able to access the Kibana site externally using "curl http:///app/kibana". But I got 404 error. When I tried to login to the Kibana container, and run "curl http://localhost:5601" , I got the same thing, i.e. it is redirected to /spaces/enter. I don't know why it is directed to /spaces/enter. Shouldn't it be redirected to the Kibana web site?
Below is from inside of the Kibana container, the output from running curl:
[ls4074@starfish etc]$ kubectl exec -it kibana-kibana-76c7d9fd6f-mwlkh -n elk -- curl -v http://localhost:5601
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.