C# Class Core.Telemetry.ElasticSearchOutput

Datei anzeigen Open project: Rurouni/MassiveOnlineUniversalServerEngine Class Usage Examples

Public Methods

Method Description
ElasticSearchOutput ( ElasticSearchOutputConfig config, Nest.PutIndexTemplateDescriptor indexTemplate = null ) : System
Process ( IEnumerable items ) : void
Process ( TelemetryEvent item ) : void

Protected Methods

Method Description
BuildIndex ( System.DateTime eventDateTime ) : string
Send ( IList events, bool throwExceptions = false ) : void

Method Details

BuildIndex() protected method

protected BuildIndex ( System.DateTime eventDateTime ) : string
eventDateTime System.DateTime
return string

ElasticSearchOutput() public method

public ElasticSearchOutput ( ElasticSearchOutputConfig config, Nest.PutIndexTemplateDescriptor indexTemplate = null ) : System
config ElasticSearchOutputConfig
indexTemplate Nest.PutIndexTemplateDescriptor
return System

Process() public method

public Process ( IEnumerable items ) : void
items IEnumerable
return void

Process() public method

public Process ( TelemetryEvent item ) : void
item TelemetryEvent
return void

Send() protected method

protected Send ( IList events, bool throwExceptions = false ) : void
events IList
throwExceptions bool
return void