Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data in histogram and table #58

Closed
jsm-oxa opened this issue Apr 25, 2013 · 1 comment
Closed

No data in histogram and table #58

jsm-oxa opened this issue Apr 25, 2013 · 1 comment

Comments

@jsm-oxa
Copy link

jsm-oxa commented Apr 25, 2013

Hi,

After hours of search, histogram and table still display nothing. I copied the last query (thank to the eye !) to check, and I pasted it on my elasticsearch node. There are expected answers.

-First, at the beginning, after configure dashboard/default and config.js, I had an error instead of my histogram :
"Time mode requires the flot.time plugin."
I follow this bug fix :
flot/flot@ec7322e
and now, I can see axes ! But why I get this error ? Maybe the problem is here...

-Second, I thought it was a timezone problem (because I'm in CET), but even if the querry contains UTC timestamp (with Z), ES responds with corrects events (with THH::MM:SS+02:00), so I think this is not the problem.

-Third, I thought there was a problem with our proxy, but I don't think so, because kibana.org version work well with 9200 port !

-Fourth, I checked the web console, and I get these errors :


Failed to load resource http://localhost:9200/_aliases
Failed to load resource http://localhost:9200/oxalog-2013.04.25/_search
TypeError: Cannot read property 'hits' of undefined
at http://10.1.71.4/panels/table/module.js:127:59
at i (http://10.1.71.4/common/lib/angular.min.js:76:207)
at http://10.1.71.4/common/lib/angular.min.js:76:440
at Object.e.$eval (http://10.1.71.4/common/lib/angular.min.js:87:39)
at Object.e.$digest (http://10.1.71.4/common/lib/angular.min.js:84:474)
at Object.e.$apply (http://10.1.71.4/common/lib/angular.min.js:87:198)
at e (http://10.1.71.4/common/lib/angular.min.js:94:196)
at p (http://10.1.71.4/common/lib/angular.min.js:97:332)
at XMLHttpRequest.v.onreadystatechange (http://10.1.71.4/common/lib/angular.min.js:98:252) angular.min.js:60
Failed to load resource http://localhost:9200/oxalog-2013.04.25/_search
Failed to load resource http://localhost:9200/oxalog-2013.04.25/_search
Failed to load resource http://localhost:9200/oxalog-2013.04.25/_search
Failed to load resource http://localhost:9200/oxalog-2013.04.25/_search
TypeError: Cannot read property 'hits' of undefined
at http://10.1.71.4/panels/table/module.js:127:59
at i (http://10.1.71.4/common/lib/angular.min.js:76:207)
at http://10.1.71.4/common/lib/angular.min.js:76:440
at Object.e.$eval (http://10.1.71.4/common/lib/angular.min.js:87:39)
at Object.e.$digest (http://10.1.71.4/common/lib/angular.min.js:84:474)
at Object.e.$apply (http://10.1.71.4/common/lib/angular.min.js:87:198)
at e (http://10.1.71.4/common/lib/angular.min.js:94:196)
at p (http://10.1.71.4/common/lib/angular.min.js:97:332)
at XMLHttpRequest.v.onreadystatechange (http://10.1.71.4/common/lib/angular.min.js:98:252) angular.min.js:60
GET http://localhost:9200/_aliases angular.min.js:98
GET http://localhost:9200/_aliases angular.min.js:98
GET http://localhost:9200/_aliases angular.min.js:98
GET http://localhost:9200/_aliases angular.min.js:98
GET http://localhost:9200/_aliases angular.min.js:98
GET http://localhost:9200/_aliases angular.min.js:98


I have no more idea of what could be the problem here...I tried to query
curl -XGET http://localhost:9200/_aliases?format=yaml
in my elasticsearch node, and it returns :


oxalog-2013.04.22:
aliases: {}
oxalog-2013.04.21:
aliases: {}
oxalog-2013.04.24:
aliases: {}
oxalog-2013.04.23:
aliases: {}
oxalog-2013.04.20:
aliases: {}
oxalog-2013.04.18:
aliases: {}
oxalog-2013.04.19:
aliases: {}
oxalog-2013.04.25:
aliases: {}
oxalog-2013.04.17:
aliases: {}


Here is my dashboard/default : http://pastebin.com/wwAHpvuk

Thank you for the help !

Archa

@jsm-oxa jsm-oxa closed this as completed Apr 26, 2013
@jsm-oxa
Copy link
Author

jsm-oxa commented Apr 26, 2013

I was duped by Kibana1 which can be use on the same machine using "localhost", it's not the case with Kibana3 which need the Elasticsearch server's IP because the browser communicates with the ES node directly.
Thank you rashid for the help !

faxm0dem pushed a commit to ccin2p3/kibana that referenced this issue Feb 17, 2014
spalger added a commit to spalger/kibana that referenced this issue Mar 3, 2016
rashidkpc pushed a commit to rashidkpc/kibana that referenced this issue Aug 12, 2016
Use doc title service to set tab title
spalger pushed a commit to spalger/kibana that referenced this issue Feb 7, 2018
* Remove kibanaRoot option, require kibana-extra

* Check location of Kibana on postinstall

* Fix eslint

* Remove 'process.env.KIBANA_ROOT'
spalger pushed a commit to spalger/kibana that referenced this issue Feb 8, 2018
* Remove kibanaRoot option, require kibana-extra

* Check location of Kibana on postinstall

* Fix eslint

* Remove 'process.env.KIBANA_ROOT'
spalger pushed a commit to spalger/kibana that referenced this issue Feb 8, 2018
* Remove kibanaRoot option, require kibana-extra

* Check location of Kibana on postinstall

* Fix eslint

* Remove 'process.env.KIBANA_ROOT'
orouz pushed a commit to orouz/kibana that referenced this issue Jan 13, 2022
ari-aviran pushed a commit to ari-aviran/kibana that referenced this issue Feb 7, 2022
kqualters-elastic pushed a commit to kqualters-elastic/kibana that referenced this issue Mar 8, 2022
rockdaboot pushed a commit that referenced this issue Jul 4, 2022
* Fix imports

* Pass Elasticsearch client instead of context

* Add logger mock

* Check if histogram or buckets are missing

* Increase expected search calls due to downsampling
rockdaboot pushed a commit that referenced this issue Jul 4, 2022
* Fix imports

* Pass Elasticsearch client instead of context

* Add logger mock

* Check if histogram or buckets are missing

* Increase expected search calls due to downsampling
rockdaboot pushed a commit that referenced this issue Jul 5, 2022
* Fix imports

* Pass Elasticsearch client instead of context

* Add logger mock

* Check if histogram or buckets are missing

* Increase expected search calls due to downsampling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant