Skip to content

Commit

Permalink
fix gem plugin issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Duplo-Yashwant committed Nov 28, 2024
1 parent 1f7ee0a commit d67c269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion diagnostics/opensearch/logstash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
FROM docker.elastic.co/logstash/logstash:8.16.1

# Install the OpenSearch output plugin and Azure Event Hub input plugin
RUN bin/logstash-plugin install logstash-output-opensearch && \
RUN /usr/share/logstash/bin/ruby -S gem cleanup date && \
bin/logstash-plugin install logstash-output-opensearch && \
bin/logstash-plugin install logstash-input-azure_event_hubs

COPY ./diagnostics/opensearch/logstash/logstash.conf /usr/share/logstash/pipeline/logstash.conf

0 comments on commit d67c269

Please sign in to comment.