|
14 | 14 | <rule id="201" level="0"> |
15 | 15 | <if_sid>200</if_sid> |
16 | 16 | <match>^wazuh: Agent buffer: </match> |
17 | | - <description>Agent buffer rule</description> |
| 17 | + <description>Agent event queue rule</description> |
18 | 18 | <group>agent_flooding,</group> |
19 | 19 | </rule> |
20 | 20 |
|
21 | 21 | <rule id="202" level="7"> |
22 | 22 | <if_sid>201</if_sid> |
23 | | - <status>%</status> |
24 | | - <description>Agent buffer is close to an overflow state.</description> |
| 23 | + <field name="level">%</field> |
| 24 | + <description>Agent event queue is $(level) full.</description> |
25 | 25 | <group>agent_flooding,</group> |
26 | 26 | </rule> |
27 | 27 |
|
28 | 28 | <rule id="203" level="9"> |
29 | 29 | <if_sid>201</if_sid> |
30 | | - <status>full</status> |
31 | | - <description>Agent buffer is full. Events may be lost.</description> |
| 30 | + <field name="level">full</field> |
| 31 | + <description>Agent event queue is full. Events may be lost.</description> |
32 | 32 | <group>agent_flooding,</group> |
33 | 33 | </rule> |
34 | 34 |
|
35 | 35 | <rule id="204" level="12"> |
36 | 36 | <if_sid>201</if_sid> |
37 | | - <status>flooded</status> |
38 | | - <description>Agent buffer is flooded. Check the agent configuration.</description> |
| 37 | + <field name="level">flooded</field> |
| 38 | + <description>Agent event queue is flooded. Check the agent configuration.</description> |
39 | 39 | <group>agent_flooding,</group> |
40 | 40 | </rule> |
41 | 41 |
|
42 | 42 | <rule id="205" level="3"> |
43 | 43 | <if_sid>201</if_sid> |
44 | | - <status>normal</status> |
45 | | - <description>Agent buffer is back to normal load.</description> |
| 44 | + <field name="level">normal</field> |
| 45 | + <description>Agent event queue is back to normal load.</description> |
46 | 46 | <group>agent_flooding,</group> |
47 | 47 | </rule> |
48 | 48 | </group> |
0 commit comments