C# Class Serilog.ELKBulkSink.ELKSink

Inheritance: Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink
Afficher le fichier Open project: skbkontur/serilog.ELKBulkSink

Méthodes publiques

Méthode Description
ChunkEvents ( IEnumerable events ) : IEnumerable
ELKSink ( SinkOptions options, bool includeDiagnostics = false ) : System
EventToJson ( LogEvent logEvent ) : string
PackageContent ( List jsons, int bytes, int page, bool includeDiagnostics = false ) : StringContent

Méthodes protégées

Méthode Description
EmitBatchAsync ( IEnumerable events ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
CreateWebRequest ( ) : HttpWebRequest
GetMurmur3HashString ( string value ) : string

Method Details

ChunkEvents() public méthode

public ChunkEvents ( IEnumerable events ) : IEnumerable
events IEnumerable
Résultat IEnumerable

ELKSink() public méthode

public ELKSink ( SinkOptions options, bool includeDiagnostics = false ) : System
options SinkOptions
includeDiagnostics bool
Résultat System

EmitBatchAsync() protected méthode

protected EmitBatchAsync ( IEnumerable events ) : System.Threading.Tasks.Task
events IEnumerable
Résultat System.Threading.Tasks.Task

EventToJson() public static méthode

public static EventToJson ( LogEvent logEvent ) : string
logEvent Serilog.Events.LogEvent
Résultat string

PackageContent() public static méthode

public static PackageContent ( List jsons, int bytes, int page, bool includeDiagnostics = false ) : StringContent
jsons List
bytes int
page int
includeDiagnostics bool
Résultat StringContent