I am facing an issue to connect my Docker Kibana Instance to AWS ES. The error is Authorization exception. I can curl from the EC2 host and within the container. I have included the IP of the client to the access policy. I am very new to ELK so would be awesome if somebody can explain how to achieve this in details.
My guess is that you might need to provide AWS access key inside the container and use boto3 to sign the requests even for Kibana index? I tried providing the ES url as an ENV varibale to docker compose and ES access policy allows the Docker host IP, but that did not solve the issue. Also I read from few sources that you can provide ES name and passowrd in kibana.yml if that is possible would anyone know what the default values for the AWS ES?
I am trying the Docker Kibana as the ES provided Kibana instance is broken and I could not figure out why and limited documentation from AWS. It looks like logstash can create index on ES but if I try to create an index pattern on Kibana it just gives me error and the page is broken.
Because something is broken on the Kibana side of ES. I can see that there is index in the ES. I created index patterns. But when I try to Discover or Visualize tab then it complains I must choose a default index pattern. Fair enough, I tried clicking one of the two index patterns i created to use it as default. Kibana loads for few seconds and nothing happens. Please find screenshot for the current Kibana state.https://github.com/MerrilCode/b2b_readme_images/blob/master/Screenshot%202019-06-12%20at%2011.09.45.png
I tried to use just a custom created image from Dockerfile and the official Kibana image.
I am not sure how to configure kibana to be honest. I thought providing a kibana.yml under $KIBANA_HOME/config with ES domain url was good enough when docker runs the container. I have opened the port on aws for the kibana but the site cannot be reached.
I am starting to wonder if it is some sort of plugin issue or permission issue. I tried resetting the default index from Advanced settings but I am getting a request 503 error. If it is related to permission issue could you direct me to a relevant documentation?
Actually I am getting the same error as before with kiban-oss image. "User: anonymous is not authorized to perform: es:ESHttpPut\"}"} I forgot to change the elasticsearch.url in kibana.yml before. back to the same issue now. It is definitely AWS authentication error but how do I authenticate within a container?
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.