How many workers on filebeat?

Hello,

I am not sure to understand how many work do I need.

On this configuration I see that :

# nano /etc/filebeat/filebeat.yml 

output.logstash:
  hosts: ["logstash1:5044","logstash2:5044","logstash3:5044"]
  loadbalance: true
  worker: 2

Do you think it's good ?

Thank you.