Skip to content

Commit 0998470

Browse files
Merge branch 'task/fixing_index_get_config' of git://github.com/alvarolmedo/elastalert-bitsensor into alvarolmedo-task/fixing_index_get_config
2 parents ba997d3 + 97dabb5 commit 0998470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/process/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class ProcessController {
4343

4444
// Create ElastAlert index if it doesn't exist yet
4545
logger.info('Creating index');
46-
var indexCreate = spawnSync('python', ['-m', 'elastalert.create_index', '--index', 'elastalert_status', '--old-index', ''], {
46+
var indexCreate = spawnSync('python', ['-m', 'elastalert.create_index', '--index', config.get('writeback_index'), '--old-index', ''], {
4747
cwd: this._elastalertPath
4848
});
4949

0 commit comments

Comments
 (0)