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 <[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
22 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.

2 participants