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

Use logstash redis defaults. #25

Merged

Conversation

jmcarp
Copy link
Member

@jmcarp jmcarp commented Jan 17, 2017

[Resolves #24]

Most of the diffs here are changing tabs to spaces. The only meaningful change is dropping the default redis congestion properties, then only adding them to the redis options if defined.

@CLAassistant
Copy link

CLAassistant commented Jan 17, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

if_p('redis.congestion_threshold') do |threshold|
output['options']['congestion_threshold'] = threshold
end
%>

Choose a reason for hiding this comment

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

72 to 87 are the changes introduced in this PR. Most of the rest is whitespace.

Copy link
Member

@Infra-Red Infra-Red left a comment

Choose a reason for hiding this comment

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

Hi @jmcarp, everything looks fine, but could you please update redis-input-plugin for parser logstash instances to also use the ELK default settings.

@jmcarp
Copy link
Member Author

jmcarp commented Jan 18, 2017

The only non-default option I saw for redis input was threads, which I moved into the generic options hash, which I updated to be merged into the individually defined options. Let me know if I missed anything else!

@Infra-Red
Copy link
Member

LGTM

@Infra-Red Infra-Red merged commit 9668edc into cloudfoundry-community:develop Jan 18, 2017
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.

4 participants