Javascript Error Prevents Showing Node Data
martinskans opened this issue · 1 comments
Using Elasticsearch 0.90.5 and the current master version of bigdesk, I cannot seem to get detailed statistics on the nodes.
After loading the bigdesk dashboard, I click one of the nodes and nothing appears to happen. Checking the Javascript log I find:
Uncaught TypeError: <template>:1
>> CPU vendor: {{#cpu.vendor}}{{cpu.vendor}}{{/cpu.vendor}}{{^cpu.vendor}}n/a{{/cpu.vendor}}<br>CPU model: {{#cpu.model}}{{cpu.model}} ({{cpu.mhz}} MHz){{/cpu.model}}{{^cpu.model}}n/a{{/cpu.model}}<br>CPU total logical cores: {{#cpu.total_cores}}{{cpu.total_cores}}{{/cpu.total_cores}}{{^cpu.total_cores}}n/a{{/cpu.total_cores}}<br>CPU cache: {{#cpu.cache_size}}{{cpu.cache_size}}{{/cpu.cache_size}}{{^cpu.cache_size}}n/a{{/cpu.cache_size}}
This is then followed by a different explanation for the two browsers I use:
Chrome:
Cannot read property 'cpu' of undefined
Safari:
'undefined' is not an object (evaluating 'context[names[j++]]')
I assume it is the /stats API that is used so I have created a gist of that response from one of the nodes:
https://gist.github.com/martinskans/8705555
Information that could also be useful is
that the Elasticsearch nodes themselves run on Ubuntu on virtual Amazon instances. The node the call is made through is a "no data" and "no master" node which is just used as an access point to the cluster.
I will be happy to help with any more information I can provide!
Interesting, thanks for reporting! Will look at this (feel free to ping me if you have any updates).