You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@localhost vagrant]# tail -10 /var/ossec/logs/ossec.log
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:271 at Rules_OP_ReadRules(): DEBUG: XML Variables applied.
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:245 at Rules_OP_ReadRules(): DEBUG: ruleset/rules/0935-cloudflare-waf_rules.xml is the rulefile
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:246 at Rules_OP_ReadRules(): DEBUG: Not modifing the rule path
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:264 at Rules_OP_ReadRules(): DEBUG: Read xml for rule.
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:271 at Rules_OP_ReadRules(): DEBUG: XML Variables applied.
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:245 at Rules_OP_ReadRules(): DEBUG: etc/rules/local_rules.xml is the rulefile
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:246 at Rules_OP_ReadRules(): DEBUG: Not modifing the rule path
2022/08/08 11:33:04 wazuh-analysisd[9835] rules.c:264 at Rules_OP_ReadRules(): DEBUG: Read xml for rule.
2022/08/08 11:33:04 wazuh-analysisd[9835] analysisd.c:707 at main(): ERROR: analysisd/rules.c:268 at Rules_OP_ReadRules(): (1227): Error applying XML variables 'etc/rules/local_rules.xml': XMLERR: Unknown variable: '\{\S*\w\}\S*)+'..
2022/08/08 11:33:04 wazuh-analysisd[9835] analysisd.c:716 at main(): CRITICAL: (1220): Error loading the rules: 'etc/rules/local_rules.xml'.
Expected results
Successful restart and variables applied.
The text was updated successfully, but these errors were encountered:
Description
When we add a variable to the custom rules file and restart, the variable is not loaded and the manager fails to start.
Configuration
Errors/Improvements
Current results
Expected results
Successful restart and variables applied.
The text was updated successfully, but these errors were encountered: