fix(clean up old indices): update

This commit is contained in:
2018-11-10 01:48:44 +01:00
parent 5f94db8d5d
commit d636dab664
6 changed files with 94 additions and 27 deletions

View File

@ -8,6 +8,8 @@ let testElasticLog: elasticsearch.ElasticSearch<any>;
tap.test('first test', async () => {
testElasticLog = new elasticsearch.ElasticSearch({
indexPrefix: 'smartlog',
indexRetention: 7,
domain: process.env.ELK_DOMAIN,
port: parseInt(process.env.ELK_PORT, 10),
ssl: true,