Hilal
(Hilal)
March 18, 2016, 8:15am
1
Hi,
I have Elasticsearch 2.2.0 and Kibana 4.4.2.(Marvel Plugin 2.2.0 and Sense 2.2.0 beta3) I installed Shield plugin 2.2.0 in elasticsearch and kibana When I start elasticsearch(http://localhost:9200/)
and kibana (http://0.0.0.0:5601/app)
Elasticsearch is working true but kibana isn't working true.
error:
{"statusCode": 404,"error": "Not Found"}
It is authenticate problems. What can I do? I think I didn't configure shield with kibana.
Have you created kibana4-server user/role in roles.yml configuration file?
You need to create a role for kibana first for accessing elasticsearch and
then you can let others access it.
See this, https://www.elastic.co/guide/en/shield/current/kibana.html
Hilal
(Hilal)
March 18, 2016, 8:44am
5
I created a user called kibana4-server for kibana in elasticsearch on open terminal.
bin/shield/esusers useradd kibana4-server -r kibana4_server
and I enter password.
What can I write roles.yml in configuration file? I know this link(https://www.elastic.co/guide/en/shield/current/kibana.html ) but I understatd exactly
Hilal
(Hilal)
March 18, 2016, 8:55am
6
I installed shield 2.2.0 in kibana . I restarted elasticsearch and kibana.
My error :
.....
FATAL { [Error: shield.encryptionKey is required in kibana.yml.]
cause: [Error: shield.encryptionKey is required in kibana.yml.],
jaymode
(Jay Modi)
March 18, 2016, 9:45am
7
Hilal
(Hilal)
March 18, 2016, 9:59am
8
I just did bin/kibana plugin --install kibana/shield/latest
in step 6
jaymode
(Jay Modi)
March 18, 2016, 10:01am
9
That is step 6a, you need to look at the next part on that page to solve the error you pasted
Hilal
(Hilal)
March 18, 2016, 12:57pm
10
I did other step. my new error :
[Error: HTTPS is required. Please set server.ssl.key and server.ssl.cert in kibana.yml.],
what can I write in kibana.yml path?
server.ssl.key: /path/to/your/
server.key
server.ssl.cert:/path/to/your/
server.crt
I think you need read the documentation from the begin, you need configure many things
The following options are for the auth from elasticsearch againts the kibana server, only for shield plugin, and it's only optional.
bin/shield/esusers useradd kibana4-server -r kibana4_server
(apply on the kibana.yml)
elasticsearch.username:
elasticsearch.password:
this options are for the apache ssl certification or nginx (https)
server.ssl.key: /path/to/your/server.key
server.ssl.cert:/path/to/your/server.crt
I in your place would configure basics options first, catch problems from the beginning, step by step and read the docs carefully
Hilal
(Hilal)
March 22, 2016, 8:48am
12
I removed Shield plugin for elasticsearch and I started again.
4 and 5 steps do I have to do? (https://www.elastic.co/guide/en/shield/current/kibana.html ) I don't understand ssl and CA ?