-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Elasticsearch output support for gzip compressed content-encoding #1835
Conversation
@ruflin Thanks. It's rebased. |
Password: "", | ||
Timeout: 90 * time.Second, | ||
MaxRetries: 3, | ||
CompressionLevel: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that a good default? I assume it is what we had before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I made the default to match the old behavior. Making compression opt-in instead of opt-out. Default config is debatable, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I somehow expected that some compression as default is good. I assume there is somehow a tradeoff between performance and compression level, but we can figure that out later.
LGTM. Waiting for green. |
Add support and new configuration option to elasticsearch output to enable gzip based compression of JSON payload in POST requests.
Requires #1834 plus rebase after merging #1834