# How to start logstash as root

**URL:** https://discuss.elastic.co/t/how-to-start-logstash-as-root/155107
**Category:** Logstash
**Created:** [November 2, 2018, 3:43am UTC](https://discuss.elastic.co/t/how-to-start-logstash-as-root/155107 "2018-11-02T03:43:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)
#### Post date: [November 2, 2018, 12:49pm UTC](https://discuss.elastic.co/t/how-to-start-logstash-as-root/155107/2 "2018-11-02T12:49:12Z")

</div>

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](https://discuss.elastic.co/t/logstash-bind-to-port-514/44022/2?u=yaauie)

---

_[View the full topic](https://discuss.elastic.co/t/how-to-start-logstash-as-root/155107)._
