Using the following compose service to spin up an ELK stack
logstash:
build:
context: logstash/
volumes:
- ./logstash/pipelines.yml:/etc/logstash/pipelines.yml:ro
# - ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:rw
- ./logstash/pipeline-performance:/usr/share/logstash/pipeline-performance:rw
- ./logstash/files:/usr/share/logstash/files:rw
- /datastore/esa_data/synthetic-datasets:/usr/share/logstash/synthetic-datasets
- /datastore/esa_data/input-datasets:/usr/share/logstash/input-datasets
ports:
- "5000:5000"
environment:
LS_JAVA_OPTS: "-Xmx4096m -Xms4096m"
networks:
- elk
depends_on:
- elasticsearch
Here is the contents of pipelines.yml
- pipeline.id: p_performance
path.config: "/usr/share/logstash/pipeline-performance/"
The directory contains 3 conf files.
The above pipeline never starts;
any idea why?
Does it have to do with the fact I am pointing a pipeline to a folder while perhaps it accepts only .conf files as hinted here?