mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #478] storing syslog into s3 bucket. #267
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yuvarajanlga on GitHub (Oct 3, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/478
Hi ,
I use s3 bucket to store the syslog . Its working fine. But the logs are updating in bucket after restarting the rsyslog service.
I configured s3 with IAM policy. And i mounted with the following command
s3fs netsafelogs /var/log/netsafe/ -o iam_role="auto"
Please let me know, how to frequently update the logs in s3bucket.
@brianabrams commented on GitHub (Jan 11, 2017):
Check out Logstash or AWS Cloudwatch Logs Agent. It may be a better option for your use case.
@ggtakec commented on GitHub (Jan 15, 2017):
@yuvarajanlga I'm sorry for my late reply.
In s3fs, the trigger to upload a file is to flush(or close) the file.
I think that syslog files mounting by s3fs is not good for performance.
Then you should use AWS Cloudwatch as @brianabrams said.
Thanks in advance for your help.
(I'm closing this issue, but if you have more problem please reopen this issue.)