Hello Dmitri!
Do you know on what step it is not working?
I understand that you are not seeing any alert for rule 100570. That could be for several reasons:
Is the manager receiving the logs?
Is the event being decoded correctly?
Is the rule working as expected?
To check if the manager is receiving the log events you should enable the
logall_json option on the manager's
ossec.conf. Then restart the manager. (Remember to disable that option after the debugging is done)
This will store every received event on
/var/ossec/logs/archives/archives.json.
Allow some time for new anydesk logs to be generated and forwarded to the manager. Check if there are any of those logs on that file. You can use:
cat /var/ossec/logs/archives/archives.json | grep anydesk_logIf there are no events that match that there must be a problem with the
<localfile> configuration. Let me know if this is the case.
If there are matching events then we should check the decoder.
You can check the decoder and rule by using the
wazuh-logtest tool.
Take one of the events that you found on the archives.json file, find the element with the name "full_log" and use its value to try the decoder and rule with wazuh-logtest. That tool will show you what decoder is picking up the event and what fields it is extracting, it will also tell you if it is triggering any rule or not.
If you have any problem with this, please share the log events as saved on the
archives.json so I can give them a look.
I'll be waiting for your response.
Regards!