Using kibana-3.0.0milestone4
Cannot Load Data from elasticsearch with queries that work from shell
Receive Error : TypeError: Cannot read property 'length' of undefined
(Attached)
ElasticSearch can be queried via the browser URL bar and terminal
The gist that shows exactly what data I am using and recreates the query
from kibana.
The query showed in the gist is working in the terminal localy and remotely
(Attached with Results)
After simply opening the developer console in the browser my suspicions
were qualified that there was a problem due to HTTPS.
I am wondering why my browser did not give me a pop up as a warning that
the page was attempting to request over an insecure connection.
Steps I will take to correct this is : Check settings in browser in attempt
to allow this request, add a new site in apache on a subdomain without a
certificate,
I will also have to bind elasticsearch to the IP dedicated to the
subdomain. A couple more configuration setting and everything is a go.
When in doubt check the development console. Error from console listed
below .
What was the solution. I have the same issue. I am running a nginx proxy
which redirects all http traffic to https and then kibana is complaining
that the request was https and we are trying to get elasticsearch over http.
thanks
On Sunday, January 25, 2015 at 8:45:58 PM UTC-8, Shawn Nicholas Stark wrote:
Using kibana-3.0.0milestone4
Cannot Load Data from elasticsearch with queries that work from shell
Receive Error : TypeError: Cannot read property 'length' of undefined
(Attached)
Elasticsearch can be queried via the browser URL bar and terminal
An easy work around is to request Elasticsearch under a sub-domain that is
not configured for https. If there is a documented way to change the
request from kibana from http to https I as of yet have not found it,
however it could be as simple as changing the base url structure somewhere
in kibana and setting up a reverse proxy from apache or nginx to the
elasticsearch server, that should allow you to setup client certificates
and https as per usual with apache or nginx.
On Tuesday, February 17, 2015 at 4:01:40 PM UTC-6, Shital Patel wrote:
What was the solution. I have the same issue. I am running a nginx proxy
which redirects all http traffic to https and then kibana is complaining
that the request was https and we are trying to get elasticsearch over http.
thanks
On Sunday, January 25, 2015 at 8:45:58 PM UTC-8, Shawn Nicholas Stark
wrote:
Using kibana-3.0.0milestone4
Cannot Load Data from elasticsearch with queries that work from shell
Receive Error : TypeError: Cannot read property 'length' of undefined
(Attached)
Elasticsearch can be queried via the browser URL bar and terminal
An easy work around is to request kibana under a sub-domain that is not
configured for https. If there is a documented way to change the request
from kibana from http to https I as of yet have not found it, however it
could be as simple as changing the base url structure somewhere in kibana
and setting up a reverse proxy from apache or nginx to the elasticsearch
server (you would also have to serve kibana under https), that should allow
you to setup client certificates and https as per usual with apache or
nginx.
On Tuesday, February 17, 2015 at 4:01:40 PM UTC-6, Shital Patel wrote:
What was the solution. I have the same issue. I am running a nginx proxy
which redirects all http traffic to https and then kibana is complaining
that the request was https and we are trying to get elasticsearch over http.
thanks
On Sunday, January 25, 2015 at 8:45:58 PM UTC-8, Shawn Nicholas Stark
wrote:
Using kibana-3.0.0milestone4
Cannot Load Data from elasticsearch with queries that work from shell
Receive Error : TypeError: Cannot read property 'length' of undefined
(Attached)
Elasticsearch can be queried via the browser URL bar and terminal
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.