Skip to content

Serilog.Sinks.AmazonS3 is a library to save logging information from Serilog to Amazon S3. The idea there was to upload log files to Amazon S3 to later evaluate them with Amazon EMR services.

License

Notifications You must be signed in to change notification settings

serilog-contrib/Serilog.Sinks.AmazonS3

Repository files navigation

Serilog.Sinks.AmazonS3

Serilog.Sinks.AmazonS3 is a library to save logging information from Serilog to Amazon S3. The idea there was to upload log files to Amazon S3 to later evaluate them with Amazon EMR services. This project makes use of the Serilog.Sinks.File's code in a major part, so thanks to all the contributors of this project 👍.

GitHub issues GitHub forks GitHub stars License: MIT Nuget NuGet Downloads Known Vulnerabilities Gitter

All Contributors

Available for

  • Net 6.0
  • Net 8.0

Net Core and Net Framework latest and LTS versions

Basic usage

Check out the how to use file here.

Install

dotnet add package Serilog.Sinks.AmazonS3

Special notice for read-only file systems (e.g. AWS Lambda)

AWS Lambda exposes the tmp folder for writing, so prepending /tmp/ to the path parameter of the AmazonS3 extension method allowed this sink to work with AWS Lambda. Otherwise a similar exception is thrown:

Exception while emitting periodic batch from Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink: System.IO.IOException: Read-only file system

Change history

See the Changelog.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Galouw

💻 📖

Ben Grabkowitz

💻 📖

Adam Herrmann

💻 📖

qrczak0

💻 📖

Swen Mun

💻 📖

Barry Mooring

💻 📖

Sam Burville

💻 📖

Matt Styles

💻 📖

Valentin LECERF

💻 📖

HansM

💻 📖 💡 🚧 📆 ⚠️

Serilog Contrib

💻 📖 💡 🚧 📆 ⚠️

Yuriy Sountsov

📖

Sergey Kosov

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Serilog.Sinks.AmazonS3 is a library to save logging information from Serilog to Amazon S3. The idea there was to upload log files to Amazon S3 to later evaluate them with Amazon EMR services.

Topics

Resources

License

Stars

Watchers

Forks