Skip to content

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.

2 participants