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

S3 dest: content-type() #408

Merged
merged 4 commits into from
Dec 4, 2024
Merged

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 <attila.szakacs@axoflow.com>
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Defaults to "application/octet-stream".

Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
@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
22 checks passed
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
Commit based on axoflow/axosyslog#408

Signed-off-by: Bálint Horváth <bal.horv.98@gmail.com>
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
Commit based on axoflow/axosyslog#408

Signed-off-by: Bálint Horváth <bal.horv.98@gmail.com>
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 20, 2025
Commit based on axoflow/axosyslog#408

Signed-off-by: Bálint Horváth <bal.horv.98@gmail.com>
therandomstring added a commit to therandomstring/syslog-ng that referenced this pull request Mar 21, 2025
Commit based on axoflow/axosyslog#408

Signed-off-by: Bálint Horváth <bal.horv.98@gmail.com>
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