And I would like to check if there are attack attempts going. Is there a way to map the json "uri" field to "url" so the default web rules can be used?
I think I could use a "traditional" encoder, but I'm not sure if that is the proper way to do it.
Any suggestions how to achieve this in a nice way are very welcome. Thanks and BR Fabio
Jesus Linares
unread,
Oct 24, 2022, 1:09:13 AM10/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Fabio,
There is no way to change the URI field from Wazuh. The out_format setting allows you to change the format but it doesn't allow selecting specific fields.
What is the log source? Syslog? In that case, you can use rsylog templates to modify the event.
I hope it helps.
Fabio Zuber
unread,
Oct 24, 2022, 2:59:03 AM10/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hey Jesus,
thank for your help. I guess I'll have the parse it in the traditional way then.
The log comes from a custom WAF, as these logs are also consumed elsewhere, changing the log format is probably not an option. Good tip though :)