fix(core): update dependencies and bonsai.io compatibility

This commit is contained in:
2018-11-03 20:01:39 +01:00
parent 78f03ce6a2
commit 5945f1f535
7 changed files with 233 additions and 62 deletions

View File

@@ -61,9 +61,9 @@ export class ElasticLog<T> {
}
this.client.index(
{
index: `logs-${now.getFullYear()}.${('0' + (now.getMonth() + 1)).slice(
-2
)}.${now.getDate()}`,
index: `logstash-${now.getFullYear()}.${('0' + (now.getMonth() + 1)).slice(-2)}.${(
'0' + now.getDate()
).slice(-2)}`,
type: 'log',
body: {
'@timestamp': now.toISOString(),

View File

@@ -1,4 +1,4 @@
import * as elasticsearch from 'elasticsearch';
import * as smartdelay from 'smartdelay';
import * as smartlogInterfaces from 'smartlog-interfaces';
import * as smartdelay from '@pushrocks/smartdelay';
import * as smartlogInterfaces from '@pushrocks/smartlog-interfaces';
export { elasticsearch, smartdelay, smartlogInterfaces };