The maximum value for events per second is 1000. you can see more
here. Also since your log source collect large amount of logs, it might be better to have a shorter interval so that the logs don't poll for long and then the agent has so much logs to process. Another thing to consider is increasing the buffer size of the agent, this allows the agent the ability to hold more logs for processing and not trash them. you can see information
hereMoving the configuration from the agent to the manager will mean that you do not deal with the queue and buffer size limits however that does not solve the problem but instead just moves the bottleneck to a different location. This can also cause performance issues on the manager and affect analysisd and other modules.
Will kinesis be helpful? I do not think it will be helpful since it does not control how the logs are collected and transmitted from the buckets to the agents.
To answer your final question on how should it be configured in a cluster environment? : i will recommend this setup:
1.
Replace S3 polling with SQS subscriber mode - the Wazuh AWS wodle support SQS, so you can use SQS instead so logs are processed as they become available rather than polling for long. So your logs go from S3 > SNS > SQS > Wazuh
2. Share the configuration across the worker nodes but leave the master node so nothing causes any heavy resource usage and affect analysisd.