kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
62 lines (60 loc) • 1.15 kB
JavaScript
import _ from 'lodash';
module.exports = {
'columns': [
{
'label': 'apache: _type',
'xAxisLabel': 'bytes ranges',
'yAxisLabel': 'Count of documents',
'series': [
{
'label': 'Count',
'values': [
{
'x': '0.0-1000.0',
'y': 13309
},
{
'x': '1000.0-2000.0',
'y': 7196
}
]
}
]
},
{
'label': 'nginx: _type',
'xAxisLabel': 'bytes ranges',
'yAxisLabel': 'Count of documents',
'series': [
{
'label': 'Count',
'values': [
{
'x': '0.0-1000.0',
'y': 3278
},
{
'x': '1000.0-2000.0',
'y': 1804
}
]
}
]
}
],
'hits': 171499,
'xAxisFormatter': function (val) {
if (_.isObject(val)) {
return JSON.stringify(val);
}
else if (val == null) {
return '';
}
else {
return '' + val;
}
},
'tooltipFormatter': function (d) {
return d;
}
};