Skip to content
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

check if ES is licensed before pushing out events to it #875

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Aug 6, 2019

when running a default logstash distribution we should error out if the elasticsearch distribution is oss. this makes logstash behave like beats

@jsvd jsvd marked this pull request as ready for review August 14, 2019 08:49
@jsvd jsvd force-pushed the default_distro_check branch 3 times, most recently from ad2188e to 49b11cb Compare August 21, 2019 21:26
@jsvd jsvd force-pushed the default_distro_check branch from 49b11cb to d348e86 Compare September 3, 2019 15:25
@jsvd jsvd changed the title [wip] check if ES is licensed before pushing out events to it check if ES is licensed before pushing out events to it Sep 3, 2019
* don't mark connection as not alive. only log a warn
@jsvd jsvd force-pushed the default_distro_check branch from d348e86 to 15cdcf4 Compare September 9, 2019 09:32
@jsvd jsvd self-assigned this Sep 11, 2019
@jsvd jsvd closed this Oct 4, 2019
@jsvd jsvd reopened this Oct 4, 2019
Copy link
Contributor

@robbavey robbavey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small suggestion on adding a unit test.

Also, do we need to add a documentation note anywhere here that connecting to oss Elasticsearch from a default Logstash will result in a warning (and from 8.x will be marked as unlicensed)

The build error on 8.x looks unrelated to this change, but an actual issue

Copy link
Contributor

@robbavey robbavey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsvd jsvd merged commit 9c4655a into logstash-plugins:master Oct 8, 2019
@jsvd jsvd deleted the default_distro_check branch October 8, 2019 16:16
@jsvd
Copy link
Member Author

jsvd commented Oct 8, 2019

many thanks @robbavey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants