# Environment Variable

**URL:** <https://discuss.elastic.co/t/environment-variable/109330>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 28, 2017, 8:02am UTC](https://discuss.elastic.co/t/environment-variable/109330 "2017-11-28T08:02:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [November 28, 2017, 10:26am UTC](https://discuss.elastic.co/t/environment-variable/109330/2 "2017-11-28T10:26:39Z")

</div>

The most common issue people have with environment variables is that they aren't set for the process. How are you setting the environment variables and how are you running the Filebeat process?

If your OS uses systemd have a look at this [post](https://discuss.elastic.co/t/env-variables-in-not-working-in-custom-fields-in-filebeat/101374/4?u=andrewkroh).

---

_[View the full topic](https://discuss.elastic.co/t/environment-variable/109330)._
