Skip to content

Commit b2bfcae

Browse files
Merge branch 'alvarolmedo-task/fixing_index_get_config' into develop
2 parents ba997d3 + 0998470 commit b2bfcae

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)