Can't Load/Save Dashboard nor find Data


(Nico Yue) #1

Hello,

I'm having some problem setting up Kibana, seems like it can't reach Elasticsearch.

I'm using ELS 2.3 with a modified Kibana 3.1.3 which was made to work with ELS 2.

After a while with this set up, Kibana stopped working, or more like it seemed like it couldn't reach ELS anymore, can't load or save a Dashboard, it tells me:

Failed to save to Elasticsearch

I can only try to access to the default Logstash dashboard.
By opening Firefox's developing tool, Network says I'm connected to my ELS server and there are no errors in all the queries (_search, _search count etc...)

Anyway, no data are fetched, no visualisation at all though I can see the mapping of my indices in Field at the bottom.

To me, it's a problem of Kibana unable to reach ELS, but it used to work so I'm confused. Maybe some NGINX problem ?


(Mark Walkom) #2

You will probably need to ask the author of the modified Kibana you are running, I am not sure anyone here can help given it doesn't officially work with ES 2.0 :frowning:


(Nico Yue) #3

I updated to another version of Kibana and I get

Connection Failed

I think it's the same error, but this time I have a webpage to tell me this...

Cors already set on all my ELS servers and no Memory usage problem either.

Don't know what to do at this point. My mind is telling me it's NGINX but the .conf looks correct too.


(Lee Drengenberg) #4

Not sure but it could be this issue? https://github.com/elastic/kibana/issues/6719

Go down to the comments like;

I use cors access so I needed to keep http.cors.enabled
can confirm that adding http.cors.allow-origin resolved this error

and

Removing "http.cors.enabled" from elasticsearch.yml resolved the error.

Regards,
Lee


(system) #5