Skip to content

S3 dest: content-type()#408

Merged
OverOrion merged 4 commits intoaxoflow:mainfrom
alltilla:s3-dest-content-type
Dec 4, 2024
Merged

S3 dest: content-type()#408
OverOrion merged 4 commits intoaxoflow:mainfrom
alltilla:s3-dest-content-type

Conversation

@alltilla
Copy link
Member

@alltilla alltilla commented Dec 4, 2024

No description provided.

We will have different kinds of extra arguments
to the API call, it is easier to gather them
under a single variable.

Signed-off-by: Attila Szakacs <[email protected]>
Defaults to "application/octet-stream".

Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
@alltilla
Copy link
Member Author

alltilla commented Dec 4, 2024

proof with minio:

@include "scl.conf"

log {
  source { example-msg-generator(); };

  destination {
    s3(
        url("http://localhost:9000")
        bucket("axosyslog")
        access-key("AkxlPzBcBs7fVu8FrQ5b")
        secret-key("QcsXHD9EgQQ4AyVhOjso5wapWPDdHqgKK1TwF7kF")
        object-key("${HOST}/my-logs")
        template("${MESSAGE}\n")
        content-type("text/plain")
    );
  };
};

image

@OverOrion OverOrion merged commit 9326e70 into axoflow:main Dec 4, 2024
fekete-robert pushed a commit to axoflow/axosyslog-core-docs that referenced this pull request Feb 16, 2025
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 21, 2025
sodomelle pushed a commit to sodomelle/axosyslog that referenced this pull request Sep 18, 2025
Commit based on axoflow#408

Signed-off-by: Bálint Horváth <[email protected]>
sodomelle pushed a commit to sodomelle/axosyslog that referenced this pull request Sep 19, 2025
Commit based on axoflow#408

Signed-off-by: Bálint Horváth <[email protected]>
sodomelle pushed a commit to sodomelle/axosyslog that referenced this pull request Sep 26, 2025
Commit based on axoflow#408

Signed-off-by: Bálint Horváth <[email protected]>
sodomelle pushed a commit to sodomelle/axosyslog that referenced this pull request Oct 27, 2025
Commit based on axoflow#408

Signed-off-by: Bálint Horváth <[email protected]>
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.

2 participants