We have running prod Elastalert2, now we have copied new rule with match_enhancement. But we are getting below error
Sep 21 01:12:12 server01 python3[14309]: ERROR:elastalert:Could not load rule /opt/elastalert2/rules/systems/disks/os_disk_alert_less_5gb.yaml: Could not import module elastalert_modules.drop_if_not_exists_in_list.DropIfNotExistsInList: No module named 'elastalert_modules'
But when i run the rule manually, it working perfectly. Looks like while running elastalert as service, module error is coming up. Can you please help on this.
Hi,
We have running prod Elastalert2, now we have copied new rule with match_enhancement. But we are getting below error
Sep 21 01:12:12 server01 python3[14309]: ERROR:elastalert:Could not load rule /opt/elastalert2/rules/systems/disks/os_disk_alert_less_5gb.yaml: Could not import module elastalert_modules.drop_if_not_exists_in_list.DropIfNotExistsInList: No module named 'elastalert_modules'
But when i run the rule manually, it working perfectly. Looks like while running elastalert as service, module error is coming up. Can you please help on this.
Thanks, Praveen