Skip to content

S3 destination: new options #206

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

Merged
merged 2 commits into from
Jun 5, 2025

Conversation

zsoltgyulai94
Copy link
Contributor

Added two new options for amazon s3 destination:

  • use_compression()
  • content-type()

## content-type()

|Type:| string|
|Default:| |
Copy link
Contributor

Choose a reason for hiding this comment

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

The default content type is application/octet-stream

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in latest commit.


*Description:* This option allows the user to change the displayed content type of the log messages.

### Example: content-type() applied in an S3 destination
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think the example is necessary here, but I can be convinced otherwise

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in latest commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please squash said commit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Squashed.

Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>

Removed example, and added default value to content_type()

Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>
@zsoltgyulai94 zsoltgyulai94 linked an issue Jun 3, 2025 that may be closed by this pull request
@zsoltgyulai94 zsoltgyulai94 merged commit 169a393 into syslog-ng:master Jun 5, 2025
1 check passed
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.

Add documentation of the latest S3 destination changes
3 participants