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

Dynamic prefix with S3 #5779

Closed
VishalPhenom opened this issue Apr 6, 2022 · 1 comment
Closed

Dynamic prefix with S3 #5779

VishalPhenom opened this issue Apr 6, 2022 · 1 comment

Comments

@VishalPhenom
Copy link

Whenever i am using S3 bucket it is storing logs to rood directory only. i am pushing json object with some parameter to loki, want to set prefix path as per variable in json.

ex.

default path is : /tmp/loki

my json obj:

{
    "streams":
        [
            {
                "stream":
                {
                    "refNum":"something"
                },
                "values":
                [
                    ["1643323824886697738","Test"]
                ]
            }
        ]
}

now as per the above json object prefix should be /something/loki, this "something" is refNum in json obj.

@dannykopping
Copy link
Contributor

Duplicate of #5889

@dannykopping dannykopping marked this as a duplicate of #5889 Sep 28, 2022
@dannykopping dannykopping closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
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

No branches or pull requests

2 participants