Skip to content

Commit

Permalink
When building Logstash with docker, it needs to pass the env vars to …
Browse files Browse the repository at this point in the history
…correctly reflect, which Logstash uses env2yaml tool to standardize it to internal settings. (#1818)
  • Loading branch information
mashhurs authored May 6, 2024
1 parent 2632478 commit de76256
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/stack/_static/Dockerfile.logstash
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ARG IMAGE
FROM ${IMAGE}

ENV XPACK_MONITORING_ENABLED=$XPACK_MONITORING_ENABLED

RUN if [ ! "$(bin/logstash-plugin list)" = *logstash-filter-elastic_integration* ]; then \
echo "Missing plugin logstash-filter-elastic_integration, installing now."; \
bin/logstash-plugin install logstash-filter-elastic_integration; \
Expand Down

0 comments on commit de76256

Please sign in to comment.