-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Object client scrape configs #2045
Comments
Hello,
About alternative way (fluentd): |
You gotta be very careful with this due to the data consistency model in object storage systems. It might also be an option to use something like etcd/consul similar to how Loki uses it for it's ring, you could store cursors in there as well. You could also do locking this way, which would allow multiple promtails to coordinate scraping from the same, or different object storage systems. |
Hey @adityacs, |
@AnthonyWC #2270 was dropped not merged. However, it came to my attention that Lambda Promtail can scrape logs from S3. That feature is not well documented. It's also specific to load balancer logs. |
Anyone use the Lambda Promtail possibilty? Or someone even tried Vector for this use-case? |
yes even i am interested, anyone please. |
In general, pulling logs from s3 buckets using lambda-promtail is currently possible. Some tweaks may be needed to have it work for all cases though. As far as promtail and object storage scraping, we likely won't support it within promtail. We're currently reevaluating promtails position as a project within Grafana Labs. Internally we're actually using the Agent for both metrics and logs collection at this point. While we haven't made a formal decision yet, we expect in the near future that all new feature work will be done in the Agent's log collection pipelines rather than in Promtail. |
Is your feature request related to a problem? Please describe.
I think it could be interesting to add to Promtail scraping capability from object storage such as s3, gcs, etc..
We already have this abstraction :
And it seems we have everything to list files and store a positions file. Although we could still use the position file to be local ?
Describe the solution you'd like
The configuration could be like this:
Describe alternatives you've considered
Fluentd but it seems to have struggle with out of order entries.
The text was updated successfully, but these errors were encountered: