Skipped: maximum number of running instances reached (1) #456
-
hi there, I try to do a port scan alert with Here is my yaml file of rule set. And I have around 12 rules run parallels with simple query.
Below is the warning message received. Any possible method to solve this problem. Or are there any method to handle large amount of data. I have tried to adjust Besides, I am not so sure does the scrolling will affect it. Or the scrolling takes too long time so the rules are overtime. Any ideas what might is causing that? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
A particular rule can only be executed sequentially, so if the rule query (ES time + data transfer time + ElastAlert2 parse time) exceeds the run interval then your only solution is to improve your query performance. This could require boosting the hardware components of the ES cluster, network, tuning the rule query, or tuning the ES indexing and document ingest strategy. It's also possible that your queries are simply trying to fetch too much data. Below are two configuration options that might help, but I'm not sure if they will be compatible with a cardinality rule type. Alternatively, you can also adjust buffer_time to reduce the query window. |
Beta Was this translation helpful? Give feedback.
-
Hi jertel, Thanks for your help. I might have a try on metric aggregation. Thanks |
Beta Was this translation helpful? Give feedback.
A particular rule can only be executed sequentially, so if the rule query (ES time + data transfer time + ElastAlert2 parse time) exceeds the run interval then your only solution is to improve your query performance. This could require boosting the hardware components of the ES cluster, network, tuning the rule query, or tuning the ES indexing and document ingest strategy.
It's also possible that your queries are simply trying to fetch too much data. Below are two configuration options that might help, but I'm not sure if they will be compatible with a cardinality rule type.
Alternatively, you can also adjust buffer_time to reduce the query window.