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

Kibana refuses to load dashboard due to: Object [object Array] has no method 'facet' #131

Closed
ralphtrickey opened this issue May 29, 2013 · 3 comments

Comments

@ralphtrickey
Copy link

Duplicate of #115 which has the comment that it was resolved over IRC.

Does anyone know what the resolution was? I've seen this issue on both Linux and Windows web servers.

I downloaded the latest from master and the dashboard refuses to load due to:

TypeError: Object [object Array] has no method 'facet'
at http://l7800133.ata.ams.se/panels/histogram/module.js:148:25
at Array.forEach (native)
at Function.w.each.w.forEach (http://l7800133.ata.ams.se/common/lib/underscore.min.js:1:599)
at Object.$scope.get_data (http://l7800133.ata.ams.se/panels/histogram/module.js:134:7)
at Object.$scope.set_time (http://l7800133.ata.ams.se/panels/histogram/module.js:256:12)
at http://l7800133.ata.ams.se/panels/histogram/module.js:74:66
at <error: illegal access>
at Object.e.$broadcast (http://l7800133.ata.ams.se/common/lib/angular.min.js:88:517)
at broadcast (http://l7800133.ata.ams.se/js/services.js:27:16)
at http://l7800133.ata.ams.se/panels/timepicker/module.js:217:18 angular.min.js:60
TypeError: Object [object Array] has no method 'facet'
at http://l7800133.ata.ams.se/panels/hits/module.js:81:10
at Array.forEach (native)
at Function.w.each.w.forEach (http://l7800133.ata.ams.se/common/lib/underscore.min.js:1:599)
at Object.$scope.get_data (http://l7800133.ata.ams.se/panels/hits/module.js:79:7)
at set_time (http://l7800133.ata.ams.se/panels/hits/module.js:158:12)
at http://l7800133.ata.ams.se/panels/hits/module.js:44:7
at <error: illegal access>
at Object.e.$broadcast (http://l7800133.ata.ams.se/common/lib/angular.min.js:88:517)
at broadcast (http://l7800133.ata.ams.se/js/services.js:27:16)
at http://l7800133.ata.ams.se/panels/timepicker/module.js:92:16 angular.min.js:60
TypeError: Object [object Array] has no method 'query'
at Object.$scope.get_data (http://l7800133.ata.ams.se/panels/table/module.js:137:8)
at set_time (http://l7800133.ata.ams.se/panels/table/module.js:266:12)
at http://l7800133.ata.ams.se/panels/table/module.js:64:7
at <error: illegal access>
at Object.e.$broadcast (http://l7800133.ata.ams.se/common/lib/angular.min.js:88:517)
at broadcast (http://l7800133.ata.ams.se/js/services.js:27:16)
at http://l7800133.ata.ams.se/panels/timepicker/module.js:92:16
at <error: illegal access>
at Object.e.$broadcast (http://l7800133.ata.ams.se/common/lib/angular.min.js:88:517)
at broadcast (http://l7800133.ata.ams.se/js/services.js:27:16) angular.min.js:60

@rashidkpc
Copy link
Contributor

Might be caused by an old default dashboard setting for the time based index pattern. Click the disk icon on the dashloader, and click "Clear my Default", then refresh. I've added error handling for this case in commit 1818000

@ralphtrickey
Copy link
Author

Thanks, that wasn't it, but it gave me the clue I needed. I didn't have any log entries for the past 7 days. Once I set a start date of last month, the issues went away.

@ralphtrickey
Copy link
Author

I'm going to close it since it is probably 'by design' I'm not sure I see a good general answer anyway.

jthomassie pushed a commit that referenced this issue Oct 6, 2014
used where array of unique keys are returned for x axis values
closes #131
jthomassie pushed a commit that referenced this issue Oct 6, 2014
used where array of unique keys are returned for x axis values
closes #131
stormpython added a commit that referenced this issue Oct 6, 2014
We now check if labels are strings before running a reg expression algorithm to classify the name.
Valid dates are now rendered on the chart when a terms aggregation is used.
stormpython added a commit that referenced this issue Oct 6, 2014
We now check if labels are strings before running a reg expression algorithm to classify the name.
Valid dates are now rendered on the chart when a terms aggregation is used.
spalger pushed a commit to spalger/kibana that referenced this issue Mar 3, 2016
alexwizp added a commit to alexwizp/kibana that referenced this issue Sep 5, 2024
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

2 participants