System setting for logstash

Below document suggests system settings for elasticsearch --

https://www.elastic.co/guide/en/elasticsearch/reference/6.2/system-config.html

Are above recommendations valid for logstash as well ?
Is there any such document for logstash --