Elmah.DynamoDB
1.1.0
dotnet add package Elmah.DynamoDB --version 1.1.0
NuGet\Install-Package Elmah.DynamoDB -Version 1.1.0
<PackageReference Include="Elmah.DynamoDB" Version="1.1.0" />
paket add Elmah.DynamoDB --version 1.1.0
#r "nuget: Elmah.DynamoDB, 1.1.0"
// Install Elmah.DynamoDB as a Cake Addin #addin nuget:?package=Elmah.DynamoDB&version=1.1.0 // Install Elmah.DynamoDB as a Cake Tool #tool nuget:?package=Elmah.DynamoDB&version=1.1.0
Elmah.DynamoDB
Log Elmah Errors to DynamoDB
<a href="http://www.nuget.org/packages/Elmah.DynamoDB/"><img src="https://img.shields.io/nuget/v/Elmah.DynamoDB.svg" title="NuGet Status"></a>
Installation
NOTE: manual configuration required
Install-Package Elmah.DynamoDB
Configuration
AWS Configuration
Standard AWS SDK Configuration is required before using the elmah dynamoDB driver. The configuration guide can be found here: https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-creds.html
the IAM Identity will need at least the following permissions
- dynamodb:DescribeTable
- dynamodb:GetItem
- dynamodb:PutItem
- dynamodb:Query
- dynamodb:UpdateItem
- dynamodb:CreateTable (if you want to automatically create the table if not present)
Minimal Configuration
in your web.config, set the error log type
<elmah>
<errorLog type="Elmah.DynamoDB.DynamoDBErrorLog, Elmah.DynamoDB" applicationName="MyApplication" />
</elmah>
This will log errors to a table named "Elmah_ErrorLog"
Configuration Options
<elmah>
<errorLog type="Elmah.DynamoDB.DynamoDBErrorLog, Elmah.DynamoDB" applicationName="MyApplication"
tableName="MyTable"
awsProfileName="elmah"
streamEnabled="false"
readCapacityUnits="50"
writeCapacityUnits="10"
/>
</elmah>
- tableName = the name of the DynamoDB table (default: Elmah_ErrorLog)
- awsProfileName = The name of the custom AWS profile to use for credentials. You can use this to give the Elmah driver a different IAM identity than the rest of your application
- streamEnabled = enable DynamoDB streams (default: true)
- readCapacityUnits = the read capacity units to use when first creating this table (default: 8)
- writeCapacityUnits = the write capacity units to use when first creating this table (default: 6)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- AWSSDK.Core (>= 3.3.103.70)
- AWSSDK.DynamoDBv2 (>= 3.3.104)
- AWSSDK.SecurityToken (>= 3.3.104.2)
- elmah (>= 1.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.