But is there any workaround to send maybe only alert ID to integration and then I can use custom script to search event details in alerts.json?
- You should code some kind of field removal in the integratord code to only send the rule ID field.
- If you do this, some fields should remain(location, level, rule, group)as they are necessary to check if the alert should be sent to the integration.
I think that if you are already receiving the alerts correctly you could already use your custom script to search event details in alerts.json.
Alerts will be received only when log is reduced, including necessary custom fields for us. This reduced log will be stored in alerts.json and full information with removed fields are not available anymore.
Is it option to add integrationd improvements into Wazuh roadmap to get integration working with alerts that are bigger than 65536 Bytes? Example, maybe sending only location, level, rule, group, alert ID (not all fields) from integratord and if necessary then custom scripts can search for details in alerts.json.