Hi
I have installed the ELK.
I enabled the xpack and the even though the kibana status is showing all "green" when I am trying to access the kibana site I am getting the error:
{"statusCode":404,"error":"Not Found","message":"Not Found"}
Which version of the stack are you using ? What do the Elasticsearch and Kibana logs indicate ?
Can you also check the health of your cluster ? The cluster health API allows to get a very simple status on the health of the cluster. GET _cluster/health
I have installed it today - its the latest verstion
I tried the below
root@ubuntu-4gb-hel1-1:/etc/kibana# curl -uelastic -X GET "localhost:9200/_cluster/health"
Enter host password for user 'elastic': {"cluster_name":"my-application","status":"green","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":4,"active_shards":4,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}
also the http://localhost:5601/status is all green
Can you restart your browser, and/or clear session cookies. When you create user through User Managemenet API all relevant information is stored in Elasticsearch, including username and password hash . When user logs in, Kibana encrypts username/password pair and stores it in the cookie. Then when Kibana receives subsequent requests, it decrypts cookie, extracts user information and asks Elasticsearch to verify whether username/password pair is correct. If it's then Elasticsearch returns all information that Kibana may want to know (e.g. user roles).
That's how basic authentication works internally right now, that may and most likely will change in the future.
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.