Deleting .Kibana results in too many redirects

Hi guys,

While trying to access Kibana UI, I was getting too many redirects.

I check my logs and I get this,

{"type":"log","@timestamp":"2019-01-09T08:45:24Z","tags":["spaces","error"],"pid":21165,"message":"Unable to navigate to space \"default\", redirecting to Space Selector. Error: Saved object [space/default] not found"}

So, I googled this error and turns out it was due to the reason that I deleted the .kibana index.

then it struck me that I accidentally deleted .kibana index.

How can I get Kibana UI in the working state again?

NOTE: My kibana UI was wokring fine for months. Its just today I ran curator with wrong filters that .kibana was deleted. So, there is no problem in nginx conf

I got it,

I created the .kibana index manually. Here is the solution in case anybody ends up screwing kibana like me,

curl -XPUT -H 'Content-Type: application/json' http://172.31.27.95:9200/.kibana/ -d '{ "index.mapper.dynamic": true }'
2 Likes

Thanks for keeping the community posted :slight_smile:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.