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
Wazuh Versions:
Wazuh agent version 4.9.2
Wazuh manager version 4.9.1
I need some assistance with an issue I’m facing. I’m working on retrieving AWS SQS messages and processing them in my agent pod. I’m attempting to replace the following block in the file located at /var/ossec/etc/ossec.conf:
After adding the new block and restarting the pod, everything works fine on the agent pod. I can see messages being processed as expected, with logs appearing in /var/ossec/logs/ossec.log.
However, on the manager pod, no new logs appear in alerts.json, even though I see the messages being processed in the agent pod within the defined time interval. Previously, before making this change, new logs related to S3 appeared in alerts.json on the manager pod without any issue.
Here’s what I tried to resolve this:
Edited the ossec.conf file in the manager pod and set <logall_json> to yes.
Updated the filebeat.yml file with the following values:
After these changes, I was able to view logs in JSON format in archives.json, but still nothing in alerts.json.
My questions are:
Is there a way to ensure logs appear in alerts.json?
Even if not possible, the JSON format in archives.json is different from what I used to receive in alerts.json before doing my changes. Making backend code changes to handle this would be problematic for us. Is there any alternative solution?
The text was updated successfully, but these errors were encountered:
Wazuh Versions:
Wazuh agent version 4.9.2
Wazuh manager version 4.9.1
I need some assistance with an issue I’m facing. I’m working on retrieving AWS SQS messages and processing them in my agent pod. I’m attempting to replace the following block in the file located at /var/ossec/etc/ossec.conf:
xml
With this block:
xml
The reference documentation can be found -> https://documentation.wazuh.com/current/cloud-security/amazon/services/supported-services/custom-buckets.html.
After adding the new block and restarting the pod, everything works fine on the agent pod. I can see messages being processed as expected, with logs appearing in /var/ossec/logs/ossec.log.
However, on the manager pod, no new logs appear in alerts.json, even though I see the messages being processed in the agent pod within the defined time interval. Previously, before making this change, new logs related to S3 appeared in alerts.json on the manager pod without any issue.
Here’s what I tried to resolve this:
Edited the ossec.conf file in the manager pod and set <logall_json> to yes.
Updated the filebeat.yml file with the following values:
After these changes, I was able to view logs in JSON format in archives.json, but still nothing in alerts.json.
My questions are:
The text was updated successfully, but these errors were encountered: