diff --git a/src/Elastic.CommonSchema.Serilog/LogEventConverter.cs b/src/Elastic.CommonSchema.Serilog/LogEventConverter.cs
index 14decb3d..359c8d9b 100644
--- a/src/Elastic.CommonSchema.Serilog/LogEventConverter.cs
+++ b/src/Elastic.CommonSchema.Serilog/LogEventConverter.cs
@@ -21,10 +21,10 @@ public static class LogEventConverter
///
/// Converts a to an
///
- public static TEcsDocument ConvertToEcs(LogEvent logEvent, IEcsTextFormatterConfiguration configuration)
+ public static TEcsDocument ConvertToEcs(LogEvent logEvent, IEcsTextFormatterConfiguration configuration, EcsDocumentCreationCache? initialCache = null)
where TEcsDocument : EcsDocument, new()
{
- var ecsEvent = EcsDocument.CreateNewWithDefaults(logEvent.Timestamp, logEvent.Exception, configuration);
+ var ecsEvent = EcsDocument.CreateNewWithDefaults(logEvent.Timestamp, logEvent.Exception, configuration, initialCache);
if (logEvent.TryGetScalarString(SpecialKeys.MachineName, out var machineName))
{