mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Local var.
This commit is contained in:
parent
3b6ae5bd9d
commit
441f022bb0
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
|
||||
jQuery.getJSON("/api/histogram", logstash.params, function(histogram, text, jqxhr) {
|
||||
/* Load the data into the graph */
|
||||
flot_data = [];
|
||||
var flot_data = [];
|
||||
// histogram is an array of { "key": ..., "count": ... }
|
||||
for (var i in histogram) {
|
||||
flot_data.push([parseInt(histogram[i]["key"]), histogram[i]["count"]])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue