Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们每天都将数据记录到 cloudwatch 日志中。我想每小时/每天将其推送到 S3 批次。
nodejs 中是否有任何现有的 lambda 库来实现这一点?
Logwatch 在 logwatch.config 上配置 logwatch(您可以在其中配置 mailTo 和 mailFrom。
手动运行 logwatch
sudo logwatch --detail high --mailto testmail@mailinator.com --service all --range all
或者
使用 Winston/winston-daily-rotate-file,一个用于 Node.js 的多功能日志库