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

feat: enable compression by default #87

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Configuration options for fluent.conf are:
* `proxy_uri` - Add the `uri` of the `proxy` environment if present.
* `metric_data_format` - The format of metrics you will be sending, either `graphite` or `carbon2` or `prometheus` (Default is `graphite `)
* `disable_cookies` - Option to disable cookies on the HTTP Client. (Default is `false `)
* `compress` - Option to enable compression (default `false`)
* `compress` - Option to enable compression (default `true`)
* `compress_encoding` - Compression encoding format, either `gzip` or `deflate` (default `gzip`)
* `custom_fields` - Comma-separated key=value list of fields to apply to every log. [more information](https://help.sumologic.com/Manage/Fields#http-source-fields)
* `custom_dimensions` - Comma-separated key=value list of dimensions to apply to every metric. [more information](https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/HTTP-Source/Upload-Metrics-to-an-HTTP-Source#supported-http-headers)
Expand Down
2 changes: 1 addition & 1 deletion lib/fluent/plugin/out_sumologic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Fluent::Plugin::Sumologic < Fluent::Plugin::Output
desc 'Name of sumo client which is send as X-Sumo-Client header'
config_param :sumo_client, :string, :default => 'fluentd-output'
desc 'Compress payload'
config_param :compress, :bool, :default => false
config_param :compress, :bool, :default => true
desc 'Encoding method of compresssion (either gzip or deflate)'
config_param :compress_encoding, :string, :default => SumologicConnection::COMPRESS_GZIP
# https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/HTTP-Source/Upload-Metrics-to-an-HTTP-Source#supported-http-headers
Expand Down