要不要再翻翻文档呢?

运行ElastAlert后,在哪里可以看到由ElastAlert反馈的日志信息?

Elasticsearch | 作者 orli | 发布于2019年10月10日 | 阅读数:2749

我安装的Python版本号是3.6.9,ElastAlert版本号是0.2.1。
当我通过使用【/xxx/python369/bin/elastalert --verbose --config /xxx/python369/lib/python3.6/site-packages/elastalert/config.yaml --rule /xxx/python369/lib/python3.6/site-packages/elastalert/rules/oggTransTimeDelayPercentageMatchFirst.yaml】命令测试告警规则时,我能看到由ElastAlert反馈的日志信息,例如:
1 rules loaded
INFO:elastalert:Starting up
INFO:elastalert:Disabled rules are: []
INFO:elastalert:Sleeping for 179.999893 seconds
INFO:elastalert:Ran OGGTransTimeDelayPercentageMatchFirst from 2019-09-26 11:11 CST to 2019-09-26 11:16 CST: 0 query hits (0 already seen), 0 matches, 0 alerts sent
INFO:elastalert:Background configuration change check run at 2019-09-26 11:19 CST
INFO:elastalert:Background alerts thread 0 pending alerts sent at 2019-09-26 11:19 CST
INFO:elastalert:Disabled rules are: []
INFO:elastalert:Sleeping for 179.999807 seconds
INFO:elastalert:Ran OGGTransTimeDelayPercentageMatchFirst from 2019-09-26 11:14 CST to 2019-09-26 11:19 CST: 0 query hits (0 already seen), 0 matches, 0 alerts sent
...

但是,当我通过命令【nohup python3 -m elastalert.elastalert --verbose --config /xxx/python369/lib/python3.6/site-packages/elastalert/config.yaml --rule /xxx/python369/lib/python3.6/site-packages/elastalert/rules/oggTransTimeDelayPercentageMatchFirst.yaml >/dev/null 2>&1 &】运行ElastAlert后,我在哪里可以看到如上那样的由ElastAlert反馈的日志信息?
已邀请:

要回复问题请先登录注册