Exchange Server Connector tuning required to avoid reading old logs
Exchange server connector starts reading all the old logs and get crashed as logs are huge for last 15 days. How do we control this reading logs so that connector is not crashing.
Any parameters other than memory from 256 to 1 GB and cache from 1 to 10 GB?
By default connector process last 256 files only, you change this value as per your requirements from agent.properties file
Is it reading from single large log file ?? -> Enable Log Rotation
Or the folder reader reads from multiple files inside the folder ?? -> Use Wildcards to avoid reading the old logs. And make sure it converts the logs after reading to processed state, else it will read old logs files again.
As Yahiya mentioned, u can limit the event processing rate. If it is still crashing, enable batch forwarding to test the stability of the connector.
Just in case anyone else runs into this reading multiple folders in the same connector, I found this needs to be set for each folder -
One additional item (also set for each folder):