How to start logstash as root

I would advise against starting Logstash as a privileged user for security reasons; instead, configure your system to allow the Logstash user to bind to the port.

Relative answer here: Logstash bind to port 514