# Best way to test locally

**URL:** <https://discuss.elastic.co/t/best-way-to-test-locally/162942>\
**Category:** Beats\
**Tags:** functionbeat\
**Created:** [January 4, 2019, 11:16am UTC](https://discuss.elastic.co/t/best-way-to-test-locally/162942 "2019-01-04T11:16:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yorkshirestingo](https://avatars.discourse-cdn.com/v4/letter/y/57b2e6/32.png) [@yorkshirestingo](https://discuss.elastic.co/u/yorkshirestingo)\
**Post date:** [January 4, 2019, 11:16am UTC](https://discuss.elastic.co/t/best-way-to-test-locally/162942/1 "2019-01-04T11:16:06Z")

</div>

Hi all,

I've decided to use Functionbeat for a new project but to sell it to my team I've been trying to set up a local example using docker-compose running Localstack and elk together; my vision was to deploy functionbeat to Localstack but it seems that there is no way to override the AWS endpoint used by the `functionbeat deploy` command.

With the aws cli you can do things like `aws --endpoint-url=http://localstack:4572 ...` which allows you to run commands against Localstack.

So my question is what options do I have in terms of local testing of functionbeat?

Kind regards,  
YorkshireStingo

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [January 4, 2019, 1:18pm UTC](https://discuss.elastic.co/t/best-way-to-test-locally/162942/2 "2019-01-04T13:18:39Z")

</div>

Currently there no easy to test functionbeat locally, but I like your proposal I will make a folllowup.

---

<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:** [January 25, 2019, 3:19am UTC](https://discuss.elastic.co/t/best-way-to-test-locally/162942/3 "2019-01-25T03:19:00Z")

</div>

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