# Docker-compose of elk stack with logstash 2.4 not working

**URL:** <https://discuss.elastic.co/t/docker-compose-of-elk-stack-with-logstash-2-4-not-working/155187>\
**Category:** Logstash\
**Created:** [November 2, 2018, 3:25pm UTC](https://discuss.elastic.co/t/docker-compose-of-elk-stack-with-logstash-2-4-not-working/155187 "2018-11-02T15:25:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [November 2, 2018, 3:25pm UTC](https://discuss.elastic.co/t/docker-compose-of-elk-stack-with-logstash-2-4-not-working/155187/1 "2018-11-02T15:25:20Z")

</div>

I am trying to run a simple pipeline with elk using however logstash 2.4 as follows

```
  logstash:
    build:
      context: logstash/
    volumes:
      - ./logstash/pipeline-production:/etc/logstash/conf.d:rw
      - ./logstash/files:/usr/share/logstash/files:rw
    ports:
      - "5000:5000"
    # environment:
    # LS_JAVA_OPTS: "-Xmx4096m -Xms4096m"
    networks:
      - elk
    depends_on:
      - elasticsearch

```

My `production-pipeline` folder has simple input / output files.

However I see no reasonable output in my docker logs:

```
elasticsearch_1 | WARNING: no logs are available with the 'none' log driver
kibana_1 | WARNING: no logs are available with the 'none' log driver
logstash_1 | {:timestamp=>"2018-11-02T15:22:36.374000+0000", :message=>"Pipeline main started"}
logstash_1 | {:timestamp=>"2018-11-02T15:22:36.480000+0000", :message=>"Pipeline main has been shutdown"}
dockerelk_kibana_1 exited with code 137
logstash_1 | {:timestamp=>"2018-11-02T15:22:39.382000+0000", :message=>"stopping pipeline", :id=>"main"}

```

What could be the issue?

---

<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:** [November 30, 2018, 3:25pm UTC](https://discuss.elastic.co/t/docker-compose-of-elk-stack-with-logstash-2-4-not-working/155187/2 "2018-11-30T15:25:26Z")

</div>

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