# Functionbeat environment variables

**URL:** <https://discuss.elastic.co/t/functionbeat-environment-variables/269617>\
**Category:** Beats\
**Tags:** functionbeat\
**Created:** [April 8, 2021, 3:08pm UTC](https://discuss.elastic.co/t/functionbeat-environment-variables/269617 "2021-04-08T15:08:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sce81](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@sce81](https://discuss.elastic.co/u/sce81)\
**Post date:** [April 8, 2021, 3:08pm UTC](https://discuss.elastic.co/t/functionbeat-environment-variables/269617/1 "2021-04-08T15:08:17Z")

</div>

Hi, i am wondering if it is possible to override the functionbeat.yml parameters using environment variables?  
eg: i want to send to elasticsearch with credentials stored as encrypted env vars, but i want this configured as a Lambda environment variable, not from within the functionbeat.yml file.

The usecase is I need to configure functionbeat in multiple unconnected accounts and this would greatly simplify my rollout

---

<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:** [May 6, 2021, 5:08pm UTC](https://discuss.elastic.co/t/functionbeat-environment-variables/269617/2 "2021-05-06T17:08:32Z")

</div>

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