Hi taimur:
I hope you are fine.
Please, send me some logs sample in order to reproduce this issue.
Also consider that there is a hard limit of 64KiB for log lines that is 65279 bytes or characters.
If this is the case, you will see a line like this in the wazuh-agent (or wazuh-manager) LogColletor module:
#less /var/ossec/logs/ossec.log | grep -i logcollector
2023/05/04 12:29:10 wazuh-logcollector: ERROR: Large message size from file '/var/log/suri-test.json' (length = 65279): '{"timestamp":"2023-05-03T17:52:15.186949+0200","flow_id":2085930'...
If you don't have this message, we can look for errors in the same log. You might need to set the DEBUG mode to have more information:
# vi /var/ossec/etc/local_internal_options.conf
...
logcollector.debug=2
# systemctl restart wazuh-agent
After that, send me the output of:
#less /var/ossec/logs/ossec.log | grep -iE 'WARN|ERROR'
I hope this helps.
Thanks