opensearch-project / data-prepper

OpenSearch Data Prepper is a component of the OpenSearch project that accepts, filters, transforms, enriches, and routes data at scale.
https://opensearch.org/docs/latest/clients/data-prepper/index/
Apache License 2.0
263 stars 198 forks source link

Log Ingestion Demo Guide Docker network prepended with different folder name #981

Open graytaylor0 opened 2 years ago

graytaylor0 commented 2 years ago

Describe the issue This issue was brought up in #979. The Log Ingestion Demo Guide assumes that the docker-compose is run from the ../data-prepper/examples/log-ingestion folder. This leads to confusion since docker-compose prepends the project name to the network.

This prepend can be overridden by adding a standard --project-name flag to the docker-compose up command

 docker-compose --project-name "data-prepper" up -d

And then data prepper can be run and attached to the network with

docker run --name data-prepper -v /full/path/to/log_pipeline.yaml:/usr/share/data-prepper/pipelines.yaml --network "data-prepper_opensearch-net" opensearch-data-prepper:latest
dlvenable commented 2 years ago

I'd like to push forward with Docker Compose v3 files. Please update the instructions to include setting the project name.

jayeshjeh commented 2 months ago

Is this still open ? because still, docker network is getting created with the directory name with it. @graytaylor0 @dlvenable