Serilog.Sinks.AmazonS3 1.5.1

dotnet add package Serilog.Sinks.AmazonS3 --version 1.5.1
NuGet\Install-Package Serilog.Sinks.AmazonS3 -Version 1.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serilog.Sinks.AmazonS3" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.AmazonS3 --version 1.5.1
#r "nuget: Serilog.Sinks.AmazonS3, 1.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serilog.Sinks.AmazonS3 as a Cake Addin
#addin nuget:?package=Serilog.Sinks.AmazonS3&version=1.5.1

// Install Serilog.Sinks.AmazonS3 as a Cake Tool
#tool nuget:?package=Serilog.Sinks.AmazonS3&version=1.5.1

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 7.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):

<table> <tr> <td align="center"><a href="https://github.com/Galouw"><img src="https://avatars.githubusercontent.com/u/6368030?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Galouw</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=Galouw" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=Galouw" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/profet23"><img src="https://avatars.githubusercontent.com/u/2411974?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ben Grabkowitz</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=profet23" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=profet23" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/aherrmann13"><img src="https://avatars.githubusercontent.com/u/1924089?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adam Herrmann</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=aherrmann13" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=aherrmann13" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/qrczak0"><img src="https://avatars.githubusercontent.com/u/45206900?v=4?s=100" width="100px;" alt=""/><br /><sub><b>qrczak0</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=qrczak0" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=qrczak0" title="Documentation">📖</a></td> <td align="center"><a href="http://longfin.github.com"><img src="https://avatars.githubusercontent.com/u/128436?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Swen Mun</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=longfin" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=longfin" title="Documentation">📖</a></td> <td align="center"><a href="https://www.linkedin.com/in/barrymooring/"><img src="https://avatars.githubusercontent.com/u/1089628?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Barry Mooring</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=codingbadger" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=codingbadger" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/samburville"><img src="https://avatars.githubusercontent.com/u/7041731?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sam Burville</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=samburville" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=samburville" title="Documentation">📖</a></td> </tr> <tr> <td align="center"><a href="https://github.com/stylesm"><img src="https://avatars.githubusercontent.com/u/5602910?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matt Styles</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=stylesm" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=stylesm" title="Documentation">📖</a></td> <td align="center"><a href="http://vlecerf.com"><img src="https://avatars.githubusercontent.com/u/7376668?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Valentin LECERF</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=ioxFR" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=ioxFR" title="Documentation">📖</a></td> <td align="center"><a href="https://franzhuber23.blogspot.de/"><img src="https://avatars.githubusercontent.com/u/9639361?v=4?s=100" width="100px;" alt=""/><br /><sub><b>HansM</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=SeppPenner" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=SeppPenner" title="Documentation">📖</a> <a href="#example-SeppPenner" title="Examples">💡</a> <a href="#maintenance-SeppPenner" title="Maintenance">🚧</a> <a href="#projectManagement-SeppPenner" title="Project Management">📆</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=SeppPenner" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/serilog-contrib"><img src="https://avatars.githubusercontent.com/u/78050538?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Serilog Contrib</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=serilog-contrib" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=serilog-contrib" title="Documentation">📖</a> <a href="#example-serilog-contrib" title="Examples">💡</a> <a href="#maintenance-serilog-contrib" title="Maintenance">🚧</a> <a href="#projectManagement-serilog-contrib" title="Project Management">📆</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=serilog-contrib" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/seruminar"><img src="https://avatars.githubusercontent.com/u/35008875?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yuriy Sountsov</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=seruminar" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/kosovrzn"><img src="https://avatars.githubusercontent.com/u/13337834?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sergey Kosov</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=kosovrzn" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=kosovrzn" title="Tests">⚠️</a></td> </tr> </table>

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

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.1 4,185 3/3/2024
1.5.0 5,126 11/21/2023
1.4.1 19,164 6/6/2023
1.4.0 11,773 4/7/2023
1.3.0 8,570 11/20/2022
1.2.9 12,318 10/30/2022
1.2.8 13,065 8/28/2022
1.2.7 43,250 8/3/2022
1.2.6 5,051 6/1/2022
1.2.5 12,483 2/16/2022
1.2.4 833 2/16/2022
1.2.3 4,940 1/12/2022
1.2.2 8,954 11/9/2021
1.2.1 914 11/4/2021
1.2.0 11,682 9/12/2021
1.1.11 3,359 9/3/2021

Version 1.5.1.0 (2024-03-03): Updated NuGet packages.