fix(core): update dependencies and bonsai.io compatibility
This commit is contained in:
@@ -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(),
|
||||
|
@@ -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 };
|
||||
|
Reference in New Issue
Block a user