Description of the problem, including expected versus actual behavior:
Row 315 of UAParser.cs in Elastic.Serilog.Enrichers.Web is incorrect. Right now (September 27 2024) it is:
.Assembly.GetManifestResourceStream("UAParser.regexes.yaml"))
To actually work it should be:
.Assembly.GetManifestResourceStream("Elastic.Serilog.Enrichers.Web.Lib.UAParser.regexes.yaml"))
Steps to reproduce:
Use Enrich.WithEcsHttpsContext(IHttpContextAccessor)
Run your solution
'UAParser.Parse(stringValues)' threw an exception of type 'System.TypeInitializationException'
ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog): Elastic.Serilog.Enrichers.Web
ECS schema version (e.g. 1.4.0):
ECS .NET assembly version (e.g. 1.4.2): 8.12.0
Elasticsearch version (if applicable):
.NET framework / OS:
Description of the problem, including expected versus actual behavior: Row 315 of UAParser.cs in Elastic.Serilog.Enrichers.Web is incorrect. Right now (September 27 2024) it is: .Assembly.GetManifestResourceStream("UAParser.regexes.yaml"))
To actually work it should be: .Assembly.GetManifestResourceStream("Elastic.Serilog.Enrichers.Web.Lib.UAParser.regexes.yaml"))
Steps to reproduce: