diff --git a/src/BuildingBlocks/Logging/Extensions.cs b/src/BuildingBlocks/Logging/Extensions.cs index f4a1f9f..825b70a 100644 --- a/src/BuildingBlocks/Logging/Extensions.cs +++ b/src/BuildingBlocks/Logging/Extensions.cs @@ -44,8 +44,7 @@ namespace BuildingBlocks.Logging new ElasticsearchSinkOptions(new Uri(logOptions.Elastic.ElasticServiceUrl)) { AutoRegisterTemplate = true, - IndexFormat = - $"{appOptions.Name}-{environment?.ToLower().Replace(".", "-")}-{DateTime.UtcNow:yyyy-MM}" + IndexFormat = $"{appOptions.Name}-{environment?.ToLower()}" }); }