Configure the output plugin to enable parallel processing of log data
When you deploy or upgrade the Logging agent, you can configure the logs-values.yaml file to define the number of worker threads used by the output plug-in to enable parallel processing of log data.
The outputWorkers setting defines the number of worker threads used by the output plug-in to enable parallel processing of log data.
The default is 4.
In most environments, increasing the number of threads beyond 4 does not significantly impact performance. If your log volume is high and you’ve allocated more than 1 CPU, increasing this value to 8 can help improve output throughput.
For low-volume enviroments, reducing this value to 1 or 2 will limit the maximum log volume that can be sent to IBM Cloud Logs, which may be suitable for smaller workloads.
outputWorkers: 2
After you modify the logs-values.yaml, you can Upgrade the agent or continue modifying the file before applying all the changes.