Open vaddenz opened 7 months ago
This issue is stale because it has been open for 6 months with no activity. Stale issues convey that the issue, while important to someone, is not critical enough for the author, or other community members to work on, sponsor, or otherwise shepherd the issue through to a resolution.
1. Exception Log:
2. Reproduction
Start elastalert with the following index pattern & rule config, when first time frame is reached, the exception above occurs.
2.1 ElasticSearch Index Pattern
2.2 Rule Configuration
3. Investigation
The exception is caused by
ruletypes.py/SpikeRule.find_matches(ref, cur)
, in which ref & cur may beNone
but not validated. Therefore this exception can be fixed as follow: