Analogy.LogViewer.Elastic.CommonSchema.Serilog 0.0.1

Suggested Alternatives

Analogy.LogViewer.ElasticCommonSchema

dotnet add package Analogy.LogViewer.Elastic.CommonSchema.Serilog --version 0.0.1                
NuGet\Install-Package Analogy.LogViewer.Elastic.CommonSchema.Serilog -Version 0.0.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="Analogy.LogViewer.Elastic.CommonSchema.Serilog" Version="0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Analogy.LogViewer.Elastic.CommonSchema.Serilog --version 0.0.1                
#r "nuget: Analogy.LogViewer.Elastic.CommonSchema.Serilog, 0.0.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 Analogy.LogViewer.Elastic.CommonSchema.Serilog as a Cake Addin
#addin nuget:?package=Analogy.LogViewer.Elastic.CommonSchema.Serilog&version=0.0.1

// Install Analogy.LogViewer.Elastic.CommonSchema.Serilog as a Cake Tool
#tool nuget:?package=Analogy.LogViewer.Elastic.CommonSchema.Serilog&version=0.0.1                

Analogy LogViewer Serilog

Serilog Parser for Analogy Log Viewer. | Nuget | Version | Description | |----------|:-------------:|------| | Analogy.LogViewer.Serilog | Nuget | Serilog Extension for Analogy Log viewer (this package) | | Analogy.LogViewer.Serilog.Sinks | Nuget | Serilog Sink for sending logs to Analogy Log server |

Supported formatters, for now, are:

  1. Compact formatting
  2. Regular Expression Parser
  3. Real Time Sink
Compact formatting

Compact formatting. The initial version is based on this project

example log:

{"@t":"2016-10-12T04:46:58.0554314Z","@mt":"Hello, {@User}","User":{"Name":"nblumhardt","Id":101}}
{"@t":"2016-10-12T04:46:58.0684369Z","@mt":"Number {N:x8}","@r":["0000002a"],"N":42}
{"@t":"2016-10-12T04:46:58.0724384Z","@mt":"Tags are {Tags}","@l":"Warning","Tags":["test","orange"]}
{"@t":"2016-10-12T04:46:58.0904378Z","@mt":"Something failed","@l":"Error", "@x":"System.DivideByZer...<snip>"}
Regular Expression Parser

Regular Expression Parser: in this mode you need to define your custom regex to match you log format in the application settings.

Serilog Settings

for example, with the above regex: in the screenshot this example log can be parsed:

$2020-04-24 13:18:23,207|1|INFO|logsource|My Manager App Starting...
$2020-04-24 13:28:24,380|1|WARN|files|file not found
$2020-04-24 13:48:27,193|2|INFO|AppBase|Loading done

Serilog Settings

the available tags to use for parsing are:

public enum AnalogyLogMessagePropertyName
{
 Date,
 ID,
 Text,
 Category,
 Source,
 Module,
 MethodName,
 FileName,
 User,
 LineNumber,
 ProcessId,
 ThreadId,
 Level,
 Class,
 MachineName,
}

History

V2.6.4(23.07.2022):

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  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.  net6.0-windows7.0 is compatible.  net7.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 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
0.0.1 298 8/28/2022 0.0.1 is deprecated because it is no longer maintained.

Analogy Serilog Parsers