diff --git a/src/Serilog.Sinks.Elasticsearch/LoggerConfigurationElasticSearchExtensions.cs b/src/Serilog.Sinks.Elasticsearch/LoggerConfigurationElasticSearchExtensions.cs
index 7e3ec182..25d41081 100644
--- a/src/Serilog.Sinks.Elasticsearch/LoggerConfigurationElasticSearchExtensions.cs
+++ b/src/Serilog.Sinks.Elasticsearch/LoggerConfigurationElasticSearchExtensions.cs
@@ -70,7 +70,7 @@ public static LoggerConfiguration Elasticsearch(
/// Overload to allow basic configuration through AppSettings.
///
/// Options for the sink.
- /// A comma or semi column separated list of URIs for Elasticsearch nodes.
+ /// A comma or semi-colon separated list of URIs for Elasticsearch nodes.
///
///
///
@@ -82,7 +82,7 @@ public static LoggerConfiguration Elasticsearch(
///
///
///
- /// A comma or semi column separated list of key value pairs of headers to be added to each elastic http request
+ /// A comma or semi-colon separated list of key value pairs of headers to be added to each elastic http request
[Obsolete("New code should not be compiled against this obsolete overload"), EditorBrowsable(EditorBrowsableState.Never)]
public static LoggerConfiguration Elasticsearch(
this LoggerSinkConfiguration loggerSinkConfiguration,
@@ -109,7 +109,7 @@ public static LoggerConfiguration Elasticsearch(
/// Overload to allow basic configuration through AppSettings.
///
/// Options for the sink.
- /// A comma or semi column separated list of URIs for Elasticsearch nodes.
+ /// A comma or semi-colon separated list of URIs for Elasticsearch nodes.
///
///
///
@@ -122,7 +122,7 @@ public static LoggerConfiguration Elasticsearch(
///
///
///
- /// A comma or semi column separated list of key value pairs of headers to be added to each elastic http request
+ /// A comma or semi-colon separated list of key value pairs of headers to be added to each elastic http request
/// The connection timeout (in seconds) when sending bulk operations to elasticsearch (defaults to 5).
/// Specifies how failing emits should be handled.
/// The maximum number of events that will be held in-memory while waiting to ship them to Elasticsearch. Beyond this limit, events will be dropped. The default is 100,000. Has no effect on durable log shipping.
diff --git a/src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticSearchSink.cs b/src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticSearchSink.cs
index d695ed80..a0beddee 100644
--- a/src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticSearchSink.cs
+++ b/src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticSearchSink.cs
@@ -82,7 +82,7 @@ protected override async Task EmitBatchAsync(IEnumerable events)
if (events == null || !events.Any())
return Task.FromResult(default(T));
- var payload = CreatePlayLoad(events);
+ var payload = CreatePayload(events);
return _state.Client.BulkAsync(PostData.MultiJson(payload));
}
@@ -97,7 +97,7 @@ protected override async Task EmitBatchAsync(IEnumerable events)
if (events == null || !events.Any())
return null;
- var payload = CreatePlayLoad(events);
+ var payload = CreatePayload(events);
return _state.Client.Bulk(PostData.MultiJson(payload));
}
@@ -111,7 +111,7 @@ protected virtual void HandleException(Exception ex, IEnumerable event
if (_state.Options.EmitEventFailure.HasFlag(EmitEventFailureHandling.WriteToSelfLog))
{
// ES reports an error, output the error to the selflog
- SelfLog.WriteLine("Caught exception while preforming bulk operation to Elasticsearch: {0}", ex);
+ SelfLog.WriteLine("Caught exception while performing bulk operation to Elasticsearch: {0}", ex);
}
if (_state.Options.EmitEventFailure.HasFlag(EmitEventFailureHandling.WriteToFailureSink) &&
_state.Options.FailureSink != null)
@@ -165,7 +165,7 @@ private static bool HasProperty(dynamic settings, string name)
return settings.GetType().GetProperty(name) != null;
}
- private IEnumerable CreatePlayLoad(IEnumerable events)
+ private IEnumerable CreatePayload(IEnumerable events)
{
if (!_state.TemplateRegistrationSuccess && _state.Options.RegisterTemplateFailure == RegisterTemplateRecovery.FailSink)
{