# Metricbeat as non root user?

**URL:** <https://discuss.elastic.co/t/metricbeat-as-non-root-user/191184>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 18, 2019, 11:14am UTC](https://discuss.elastic.co/t/metricbeat-as-non-root-user/191184 "2019-07-18T11:14:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [July 18, 2019, 11:14am UTC](https://discuss.elastic.co/t/metricbeat-as-non-root-user/191184/1 "2019-07-18T11:14:17Z")

</div>

Hi,

is it possible to run metricbeat as non root user?  
What am I loosing if running as non-root?

Thanks,  
Andreas

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [July 18, 2019, 12:33pm UTC](https://discuss.elastic.co/t/metricbeat-as-non-root-user/191184/2 "2019-07-18T12:33:03Z")

</div>

Hi @asp,

Yes, you can run Metricbeat as non-root. What you lose depends on the modules that you are using, for example the system module requires wide privileges and you may lose many things there. On the other hand most of the modules that monitor services will work fine as they only need to connect to network endpoints.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 15, 2019, 12:33pm UTC](https://discuss.elastic.co/t/metricbeat-as-non-root-user/191184/3 "2019-08-15T12:33:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
