Skip to content

S3 updates#5286

Merged
HofiOne merged 5 commits intosyslog-ng:developfrom
therandomstring:s3-updates
May 30, 2025
Merged

S3 updates#5286
HofiOne merged 5 commits intosyslog-ng:developfrom
therandomstring:s3-updates

Conversation

@therandomstring
Copy link
Contributor

@therandomstring therandomstring commented Mar 20, 2025

This pull request introduces two new options for s3:

  • content-type(): users now can change the displayed content type of their logs.
  • use_compression(): in version 1.36 botocore developers changed the default integrity check settings (see Announcement: S3 default integrity change boto/boto3#4392). This option allows the users to change the default when_supported value to when_required for S3 compatible solutions that don't support checksums.

Usage:

s3(
	url("http://localhost:9000")
	bucket("testbucket")
	object_key("testobject")
	access_key("<ACCESS_KEY_ID>")
	secret_key("<SECRET_ACCESS_KEY>")
	content_type("text/plain")
	use_checksum("when_required")
);

Based on 408, 486 and 488 by @alltilla

therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
@therandomstring therandomstring marked this pull request as ready for review March 20, 2025 13:49
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
…ata elements.

This should allow for easier introduction of new config elements without breaking old buffers still on the disk.

Signed-off-by: Bálint Horváth <[email protected]>
…ehaviour

This option requires botocore 1.36 or above.
Commit based on axoflow/axosyslog#486 and axoflow/axosyslog#488

Signed-off-by: Bálint Horváth <[email protected]>
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 21, 2025
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request May 26, 2025
@kira-syslogng
Copy link
Contributor

Build FAILURE

@HofiOne HofiOne merged commit a403f4d into syslog-ng:develop May 30, 2025
33 of 36 checks 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.

3 participants