Movign to the new Kibana

Original commit: elastic/x-pack-elasticsearch@a943185e94
This commit is contained in:
Chris Cowan 2015-08-04 10:41:44 -07:00
parent a5b91ff780
commit 86ebd14587
2 changed files with 2 additions and 7 deletions

View File

@ -1,4 +0,0 @@
{
"directory": "./public/bower_components"
}

View File

@ -1,5 +1,4 @@
var _ = require('lodash');
_.mixin(require('lodash-deep'));
var moment = require('moment');
var client = require('./client');
@ -21,7 +20,7 @@ module.exports = function (fixture) {
var index = workingDate.format(indexPattern);
var entry = { '@timestamp': workingDate.toISOString() };
row.forEach(function (val, index) {
_.deepSet(entry, fields[index], val);
_.set(entry, fields[index], val);
});
indices.push(index);
@ -40,7 +39,7 @@ module.exports = function (fixture) {
var index = moment.utc(row[dateField]).format(indexPattern);
var entry = {};
_.each(row, function (val, key) {
_.deepSet(entry, key, val);
_.set(entry, key, val);
});
indices.push(index);
body.push({