Hi ekta,
I believe I have shared the custom decoders for you in a previous request: https://groups.google.com/g/wazuh/c/mK4_VZSiWmg/m/pwyDCPBCCwAJ
However, you need to modify the appcategory field in this way to capture the exact value called Online Ads.
Therefore modify this decoder before applying the rule.
Kindly note that modify the appcategory decoder regex like above.
Then you can create custom rules to achieve your requirements.
Open the file with the text editor(vi /nano)
vi /var/ossec/etc/rules/local-Netskope_rules.xml
Add these rules to that custom rule file.
To learn more about how to create custom rules you can follow these official guides. https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/rules.html
https://documentation.wazuh.com/current/user-manual/ruleset/rules/custom.html#custom-rules
https://wazuh.com/blog/creating-decoders-and-rules-from-scratch/
Next, change the file permission of the custom rule file.
chmod 660 /var/ossec/etc/rules/local-Netskope_rules.xml
chown wazuh:wazuh /var/ossec/etc/rules/local-Netskope_rules.xml
After given the appropriate permissions and rules you need to restart the Wazuh manager to apply changes.
systemctl restart wazuh-manager