Would like to know the proper worker thread configuration for a logstash server having 64 vCPU cores and 256GB ram. There are 21 logstash instances running with different configuration files. In the documentation I see that "Number of the host’s CPU cores" is the default value for pipeline.workers field. Would like to know in a situation where multiple logstash instances are running how the vCPU cores will get allocated and also how they are managed.
Looking for a optimal configuration for logstash to make sure the vCPU cores are used optimally without creating the issue like high CPU usage alerts.