chenryn/kibana-authorization

IndexMissingException[[kibana-int-demo] missing]","status":404

gugansankar opened this issue · 0 comments

Setup completed. But unable to load the kibana dashboard.
I done the setup as mentioned in the Readme file.

Auth Index created in Elasticsearch:
curl -XPOST http://127.0.0.1:9200/kibana-auth/indices/demo -d '{
"prefix":["xg"],
"route" :"/dashboard/elasticsearch/demo",
"server":"127.0.0.1:9200"
}'

kbauth

Debug Log :

[Wed Dec 16 20:45:47 2015] [debug] GET "/"
[Wed Dec 16 20:45:47 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "index"
[Wed Dec 16 20:45:47 2015] [debug] Rendering template "kibana/index.html.ep"
[Wed Dec 16 20:45:47 2015] [debug] 200 OK (0.116132s, 8.611/s)
[Wed Dec 16 20:45:59 2015] [debug] POST "/"
[Wed Dec 16 20:45:59 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "index"
[Wed Dec 16 20:45:59 2015] [debug] 302 Found (0.437050s, 2.288/s)
[Wed Dec 16 20:45:59 2015] [debug] GET "/webui"
[Wed Dec 16 20:45:59 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "logged_in"
[Wed Dec 16 20:45:59 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "webui"
[Wed Dec 16 20:45:59 2015] [debug] Rendering template "kibana/webui.html.ep"
[Wed Dec 16 20:45:59 2015] [debug] 200 OK (0.007050s, 141.844/s)
[Wed Dec 16 20:46:00 2015] [debug] GET "/config.js"
[Wed Dec 16 20:46:00 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "logged_in"
[Wed Dec 16 20:46:00 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "config"
[Wed Dec 16 20:46:00 2015] [debug] Rendering template "kibana/config.js.ep"
[Wed Dec 16 20:46:00 2015] [debug] 200 OK (0.010319s, 96.909/s)
[Wed Dec 16 20:46:03 2015] [debug] GET "/_nodes"
[Wed Dec 16 20:46:03 2015] [debug] Routing to controller "KbnAuth::Controller::Elasticsearch" and action "hidden_nodes"
[Wed Dec 16 20:46:03 2015] [debug] 200 OK (0.004226s, 236.630/s)
[Wed Dec 16 20:46:03 2015] [debug] GET "/_nodes"
[Wed Dec 16 20:46:03 2015] [debug] Routing to controller "KbnAuth::Controller::Elasticsearch" and action "hidden_nodes"
[Wed Dec 16 20:46:03 2015] [debug] 200 OK (0.000784s, 1275.510/s)
[Wed Dec 16 20:46:03 2015] [debug] GET "/_nodes"
[Wed Dec 16 20:46:03 2015] [debug] Routing to controller "KbnAuth::Controller::Elasticsearch" and action "hidden_nodes"
[Wed Dec 16 20:46:03 2015] [debug] 200 OK (0.000932s, 1072.961/s)
[Wed Dec 16 20:46:03 2015] [debug] GET "/kibana-int-demo/dashboard/demo/_source"
[Wed Dec 16 20:46:03 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "logged_in"
[Wed Dec 16 20:46:03 2015] [debug] Routing to controller "KbnAuth::Controller::Elasticsearch" and action "auth_dashboards"
[Wed Dec 16 20:46:03 2015] [debug] Nothing has been rendered, expecting delayed response
[Wed Dec 16 20:46:04 2015] [debug] 200 OK (0.409216s, 2.444/s)
[Wed Dec 16 20:46:04 2015] [debug] GET "/kibana-int-demo/dashboard/demo/_source"
[Wed Dec 16 20:46:04 2015] [debug] Routing to controller "KbnAuth::Controller::Kibana" and action "logged_in"
[Wed Dec 16 20:46:04 2015] [debug] Routing to controller "KbnAuth::Controller::Elasticsearch" and action "auth_dashboards"
[Wed Dec 16 20:46:04 2015] [debug] Nothing has been rendered, expecting delayed response
[Wed Dec 16 20:46:04 2015] [debug] 200 OK (0.436894s, 2.289/s)

I don't know what is wrong here.

Note : There is no issue if I load the dashboard directly without kbauth. I can view the data.

Please help me