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

Added "shield" client mode for elastic v1: This is required to be com… #1228

Merged
merged 1 commit into from Oct 21, 2016

Conversation

pzoleex
Copy link
Collaborator

@pzoleex pzoleex commented Oct 13, 2016

…patible with elastic v2

In case of elastic v2, if someone wants to use shield, the client mode must be "shield".
However, elastic v1 only uses "transport" for shield and gave error for "shield" mode in the config.
The different config option was confusing if someone wanted to use both elastic v1 and v2 or just switched from v1 to v2 or vice versa.

This patch fixes it, from now, if someone wants to use shield mode, he can give "shield" as client mode for both elastic v1 and v2.

Signed-off-by: Zoltan Pallagi pzoleex@gmail.com

…patible with elastic v2

In case of elastic v2, if someone wants to use shield, the client mode must be "shield".
However, elastic v1 only uses "transport" for shield and gave error for "shield" mode in the config.
The different config option was confusing if someone wanted to use both elastic v1 and v2 or just switched from v1 to v2 or vice versa.

This patch fixes it, from now, if someone wants to use shield mode, he can give "shield" as client mode for both elastic v1 and v2.

Signed-off-by: Zoltan Pallagi <pzoleex@gmail.com>
@lbudai lbudai merged commit a23106f into syslog-ng:master Oct 21, 2016
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.

None yet

2 participants