# How To Setup filebeat / elasticsearch in Docker-Swarm?

**URL:** <https://discuss.elastic.co/t/how-to-setup-filebeat-elasticsearch-in-docker-swarm/171620>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 10, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-to-setup-filebeat-elasticsearch-in-docker-swarm/171620 "2019-03-10T09:39:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsoika](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rsoika/32/41741_2.png) [@rsoika](https://discuss.elastic.co/u/rsoika)\
**Post date:** [March 10, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-to-setup-filebeat-elasticsearch-in-docker-swarm/171620/1 "2019-03-10T09:39:22Z")

</div>

I am working on a [Github project providing a lightweight docker-swarm environment](https://github.com/imixs/imixs-cloud). One feature I would like to add is a centralized logging stack based on Filebeat, Elasticsearch and Kibana. And my goal is to startup the stack with one single docker-compose.yml file.

The architecture should be quite simple:

```
FileBeat Elasticseach Kibana

 worker1 ----->|
               |
 worker3 ----->|---> Manager -----> Manager
               |
 worker3 ----->|

```

I do not need logstash to keep it compact. I created already a [docker-compose.yml](https://github.com/imixs/imixs-cloud/blob/master/management/logging/docker-compose.yml) file to start up the stack. But this did not work.

My current questions are:

- How can I test if the filebeat worker nodes are working?
- How can I test if the log information from a filebeat worker node is ingested by elasticsearch?
- What are the steps to setup kibana to show the log information?

If anybody can help me this would be great. I raised this issue also on [Github](https://github.com/imixs/imixs-cloud/issues/16)

===  
Ralph

---

<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:** [April 7, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-to-setup-filebeat-elasticsearch-in-docker-swarm/171620/2 "2019-04-07T09:39:23Z")

</div>

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