Skip to content

Testing running the 2.0 plugin with Logstash 7 in Docker container #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oeyh
Copy link
Owner

@oeyh oeyh commented Aug 7, 2023

Description

This is to test running the 2.0 plugin with Logstash 7 in Docker container

Issues Resolved

When using Logstash 7, there's a dependency conflict with the plugin. Resolving the dependency conflict solves the issue.

How to run

Update gemspec (remove json spec) and build gem:

gem build logstash-output-opensearch.gemspec

Put the gem file in the testing folder and build the image:

docker build . --build-arg APP_VERSION=7.17.10 -t testing/logstash-output-os

Run it:

docker run --rm -it -v $(pwd)/logs.txt:/usr/share/logs.txt -v $(pwd)/pipeline:/usr/share/logstash/pipeline testing/logstash-output-os

@oeyh oeyh force-pushed the run-plugin-2.0-with-logstash-7 branch from 9df1f1d to 890fb61 Compare August 7, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant