|
|
|
@ -379,19 +379,19 @@ namespace LINGYUN.Abp.Logging.Serilog.Elasticsearch |
|
|
|
private readonly static IDictionary<string, string> _fieldMaps = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase) |
|
|
|
{ |
|
|
|
{ "timestamp", "@timestamp" }, |
|
|
|
{ "level", "level.keyword" }, |
|
|
|
{ "machinename", $"fields.{AbpLoggingEnricherPropertyNames.MachineName}.keyword" }, |
|
|
|
{ "environment", $"fields.{AbpLoggingEnricherPropertyNames.EnvironmentName}.keyword" }, |
|
|
|
{ "application", $"fields.{AbpSerilogEnrichersConsts.ApplicationNamePropertyName}.keyword" }, |
|
|
|
{ "context", "fields.Context.keyword" }, |
|
|
|
{ "actionid", "fields.ActionId.keyword" }, |
|
|
|
{ "actionname", "fields.ActionName.keyword" }, |
|
|
|
{ "requestid", "fields.RequestId.keyword" }, |
|
|
|
{ "requestpath", "fields.RequestPath.keyword" }, |
|
|
|
{ "connectionid", "fields.ConnectionId.keyword" }, |
|
|
|
{ "correlationid", "fields.CorrelationId.keyword" }, |
|
|
|
{ "clientid", "fields.ClientId.keyword" }, |
|
|
|
{ "userid", "fields.UserId.keyword" }, |
|
|
|
{ "level", "level.raw" }, |
|
|
|
{ "machinename", $"fields.{AbpLoggingEnricherPropertyNames.MachineName}.raw" }, |
|
|
|
{ "environment", $"fields.{AbpLoggingEnricherPropertyNames.EnvironmentName}.raw" }, |
|
|
|
{ "application", $"fields.{AbpSerilogEnrichersConsts.ApplicationNamePropertyName}.raw" }, |
|
|
|
{ "context", "fields.SourceContext.raw" }, |
|
|
|
{ "actionid", "fields.ActionId.raw" }, |
|
|
|
{ "actionname", "fields.ActionName.raw" }, |
|
|
|
{ "requestid", "fields.RequestId.raw" }, |
|
|
|
{ "requestpath", "fields.RequestPath" }, |
|
|
|
{ "connectionid", "fields.ConnectionId" }, |
|
|
|
{ "correlationid", "fields.CorrelationId.raw" }, |
|
|
|
{ "clientid", "fields.ClientId.raw" }, |
|
|
|
{ "userid", "fields.UserId.raw" }, |
|
|
|
{ "processid", "fields.ProcessId" }, |
|
|
|
{ "threadid", "fields.ThreadId" }, |
|
|
|
{ "id", $"fields.{AbpSerilogUniqueIdConsts.UniqueIdPropertyName}" }, |
|
|
|
|