Elmah.DynamoDB 1.1.0

Install-Package Elmah.DynamoDB -Version 1.1.0
dotnet add package Elmah.DynamoDB --version 1.1.0
<PackageReference Include="Elmah.DynamoDB" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elmah.DynamoDB --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Elmah.DynamoDB, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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)

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.1.0 285 12/1/2019
1.0.5 3,736 3/17/2016
1.0.3 607 3/17/2016