﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>LogViewPlus Support » LogViewPlus Support » Help &amp; Support  » Multi-Line Regex Parser</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Sat, 09 May 2026 10:10:50 GMT</lastBuildDate><ttl>20</ttl><item><title>Multi-Line Regex Parser</title><link>https://www.logviewplus.com/forum/post/797</link><description>Hi,&lt;br/&gt;I have a problem with the regex parser. I would like to parse the following logfile:&lt;br/&gt;&lt;br/&gt;[code]06.10.2020 16:38:18.17 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] []&lt;br/&gt;   Added AuthorizationPolicy:&lt;br/&gt;Name = Default_Reader&lt;br/&gt;Authentication schemes = Test Scheme&lt;br/&gt;Requirement with scopes = ifm.suite.services.drivermanagement.reader&lt;br/&gt;06.10.2020 16:38:18.239 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] []&lt;br/&gt;   Added AuthorizationPolicy:&lt;br/&gt;Name = Default_Writer&lt;br/&gt;Authentication schemes = Test Scheme&lt;br/&gt;Requirement with scopes = ifm.suite.services.drivermanagement.reader,ifm.suite.services.drivermanagement.writer&lt;br/&gt;06.10.2020 16:38:18.241 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] []&lt;br/&gt;   added HomePolicy&lt;br/&gt;06.10.2020 16:38:18.242 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] []&lt;br/&gt;   DefaultPolicy with schemes Test Scheme&lt;br/&gt;Using SPA folder: wwwroot&lt;br/&gt;Updating Index.html&lt;br/&gt;Replacing file wwwroot\index.html&lt;br/&gt;Error manipulating spa:&lt;br/&gt;&lt;br/&gt;{"ClassName":"System.IO.FileNotFoundException","Message":"Could not find file 'C:\\d\\SingleProcess\\src\\Services\\ifm.Suite.Services.SingleProcess\\bin\\Debug\\netcoreapp3.1\\wwwroot\\index.html'.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)\r\n at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)\r\n at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)\r\n at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)\r\n at System.IO.File.InternalReadAllText(String path, Encoding encoding)\r\n at System.IO.File.ReadAllText(String path)\r\n at ifm.Suite.Services.DriverManagement.SuiteCommunication.Startup.UpdateSpaFolderEcontent()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024894,"Source":"System.Private.CoreLib","WatsonBuckets":null,"FileNotFound_FileName":"C:\\d\\SingleProcess\\src\\Services\\ifm.Suite.Services.SingleProcess\\bin\\Debug\\netcoreapp3.1\\wwwroot\\index.html","FileNotFound_FusionLog":null}&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;06.10.2020 16:38:19.234 +03:00 [Information] [drivermanagement] [ifm.Suite.Services.DriverManagement.SuiteCommunication.Startup] []&lt;br/&gt;   Setting up message bus...&lt;br/&gt;Hosting environment: Production&lt;br/&gt;Content root path: C:\d\SingleProcess\src\Services\ifm.Suite.Services.SingleProcess\bin\Debug\netcoreapp3.1&lt;br/&gt;Now listening on: &lt;a href="http://localhost:5000"&gt;http://localhost:5000&lt;/a&gt;&lt;br/&gt;Application started. Press Ctrl+C to shut down.&lt;br/&gt;06.10.2020 16:38:21.353 +03:00 [Information] [drivermanagement] [ifm.Suite.BuildingBlocks.Provisioning.Hosting.RestoreTenantState] []&lt;br/&gt;   Got 1 tenants to restore[/code]&lt;br/&gt;(excerpt I use in the parser wizard)&lt;br/&gt;&lt;br/&gt;I use following regex:&lt;br/&gt;&lt;br/&gt;[code](?&amp;lt;d&amp;gt;.*?) \[(?&amp;lt;p&amp;gt;.*?)]\ \[(?&amp;lt;Service&amp;gt;.*?)]\ \[(?&amp;lt;c&amp;gt;.*?)]\ \[(?&amp;lt;unkown&amp;gt;.*?)][\n\r]+\s+?(?&amp;lt;m&amp;gt;.*)[/code]&lt;br/&gt;&lt;br/&gt;It works fine with the online regex tester, but the parser has trouble parsing the file anyway.&lt;br/&gt;&lt;br/&gt;&lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVQAAACWCAYAAACBxXC+AAAPxElEQVR4nO2dzW8kxRmH+YMQHLyHiBIIboGAWCI4wA7yJEEoIjcukfDm4BYIiaAoigR4lpOl+QcQIDhamkAuYK93WUhgMYwX2fvtlUJAstG+Ocx0T3V1VVf1TE132/M80k+2e7q666t/U9Vd/fqee17+VBBCCEXQPS9/KkdHRwghhGYQhooQQpGEoSKEUCRhqAghFEkYKkIIRRKGihBCkYShIoRaq3+dPt06leUXQ0UItVZNmyeGihA6MWraPDFUhNCJUdPmOSdD3ZH1ZSVK5bW60WRl2/OklJLl9Z3GOwJCaHY1bZ5zNdScUW2sNmyqljwhhE6UpjW9vffeExGRvffeC9revKEeHcnGqhK1uiFHO+uy7By9bsiqWpb1nQ1ZVUqUWpWNNK1z/5DRps9Qbee158U852S7O/9NdzSEFkGzjCRN84xhpnM01PGUe3VDjnZ2ZEfff2NVlFqW9Z0jmZiVZkQbq/m/d9ZldX0n29c0V/soOMRQbeZo36YfZ2d92WK2GClCdWvW6Xlqoj9evhzFTBua8utGmI7wJp/vrC+LWl7Pm3B6TGN7Ngp25Kl4D1U38vx5w/Oil9d2HIRQHYpxzzM10x8vX27XPVS7cY3lnPZbDEnfVz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db/6haECgJfUUJVSNRrUB7KiOrK25TBazXC31jqiVj5ozEjTesFQAcDLUk/k2rVrtWtrrTMafWbb3pcVpaSztiXXUkO9dk2uXduStc54ewP5TIWhAoCXpZ7I1atXRSklV69erVWb73Ryy6ZeeX/82eY70um8I5vZvu/LK0pJ553N2vOY1guGCgBeUkNF5cJQAcDLUk9kf39flFKyv7+PDKX1gqECgJfUUFG5MFQA8LLUE9nb2xOllOzt7SFDab1gqADgJTVU3Tz4mf+JoQJAELqhIrcwVADw0vR/Ej1OqgqGCgAQCQwVACASGCoAQCQwVACASGCoAACRwFABACKBoQIARAJDBQCIxMyGihBCaKKpDRUhhFCYMFSEEIokDBUhhCIJQ0UIoUjCUBFCKJIwVIQQiqTMUBFCCM2u/wM6ff2u3T0EsQAAAABJRU5ErkJggg==" alt=""&gt;&lt;br/&gt;&lt;br/&gt;How can I debug the issue?&lt;br/&gt;&lt;br/&gt;Cheers!&lt;br/&gt;</description><pubDate>Tue, 13 Oct 2020 07:55:26 GMT</pubDate><dc:creator>aendyp</dc:creator></item><item><title>RE: Multi-Line Regex Parser</title><link>https://www.logviewplus.com/forum/post/802</link><description>We have now&amp;nbsp;&lt;a href="https://www.logviewplus.com/download.html" id="if_insertedNode_1602575126802"&gt;released LogViewPlus&lt;/a&gt; v2.4.43 into BETA.  Using this version of LogViewPlus, the sample log file above can be parsed using the Pattern Parser with either:&lt;br/&gt;&lt;br/&gt;[code]&amp;nbsp;%d [%p] [%S{Service}] [%c] [%S{Unknown}]%m%n[/code]&lt;br/&gt;&lt;br/&gt;or &lt;br/&gt;&lt;br/&gt;[code]%d{dd.MM.yyyy %H:mm:ss.fff zzzz} [%p] [%S{Service}] [%c] [%S{Unknown}]%m%n&lt;br/&gt;%d{dd.MM.yyyy %H:mm:ss.ff zzzz} [%p] [%S{Service}] [%c] [%S{Unknown}]%m%n[/code]&lt;br/&gt;&lt;br/&gt;The first pattern is recommended as it should also handle the scenario where only one millisecond digit is used.&amp;nbsp; I am including the multi-pattern here just to highlight that the issue with multi-pattern parsing has also been resolved.&lt;br/&gt;&lt;br/&gt;Parsing this file with a regex should now be easier as both the timestamp and the time zone can be automatically recognized as a date.&amp;nbsp; However, the trailing 'newline' you mentioned is problematic.&amp;nbsp; The issue is that the Regex Parser parses line by line.&amp;nbsp; It therefore expects all fields to be on the same line.&amp;nbsp; In the example log entries above, this is not the case as the Message field begins on a new line.&amp;nbsp; It would be fine if the message field was started on one line and continued on the next - but this may not be the case.&lt;br/&gt;&lt;br/&gt;Hope that helps.&amp;nbsp; Thanks for bringing this problem to our attention!&lt;br/&gt;&lt;br/&gt;Toby&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 13 Oct 2020 07:55:26 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Multi-Line Regex Parser</title><link>https://www.logviewplus.com/forum/post/800</link><description>Thanks for pointing this out.&amp;nbsp; The newline could very well be contributing to the problem.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Looking again, I just noticed that I can get a very good parse by ignoring the timezone:&lt;br/&gt;[code]%d %s [%p] [%S{Service}] [%c] [%S{Unknown}]%m%n[/code]&lt;br/&gt;&lt;br/&gt;I suspect there are several 'small' things which are adding up to make this file difficult to parse.&amp;nbsp; The behavior is definitely not what I would expect.&amp;nbsp; We aim to make configuring parsers intuitive and things like two decimal vs three decimal dates shouldn't really matter.&amp;nbsp; I would like to take a closer look at how we can improve things.</description><pubDate>Tue, 06 Oct 2020 20:02:46 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Multi-Line Regex Parser</title><link>https://www.logviewplus.com/forum/post/799</link><description>Hi,&lt;br/&gt;&lt;br/&gt;Thanks for the quick reply and fix. I thought it was a problem with the newline. I tried the pattern parser first, but without any working configuration.&lt;br/&gt;&lt;br/&gt;Are you sure this is causing the problem, because when I remove the line break in the logfile, it parses just fine:&lt;br/&gt;&lt;br/&gt;[code]06.10.2020 16:38:18.17 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] [] Added AuthorizationPolicy:&lt;br/&gt; Name = Default_Reader&lt;br/&gt; Authentication schemes = Test Scheme&lt;br/&gt; Requirement with scopes = ifm.suite.services.drivermanagement.reader&lt;br/&gt;06.10.2020 16:38:18.239 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] [] Added AuthorizationPolicy:&lt;br/&gt; Name = Default_Writer&lt;br/&gt; Authentication schemes = Test Scheme&lt;br/&gt; Requirement with scopes = ifm.suite.services.drivermanagement.reader,ifm.suite.services.drivermanagement.writer&lt;br/&gt;06.10.2020 16:38:18.241 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] [] added HomePolicy&lt;br/&gt;06.10.2020 16:38:18.242 +03:00 [Debug] [drivermanagement] [ifm.Suite.BuildingBlocks.Security.Authorization.DefaultMockAuthorizationPolicyProvider] [] DefaultPolicy with schemes Test Scheme&lt;br/&gt;Using SPA folder: wwwroot&lt;br/&gt;Updating Index.html&lt;br/&gt;Replacing file wwwroot\index.html&lt;br/&gt;Error manipulating spa:&lt;br/&gt;&lt;br/&gt;{"ClassName":"System.IO.FileNotFoundException","Message":"Could not find file 'C:\\d\\SingleProcess\\src\\Services\\ifm.Suite.Services.SingleProcess\\bin\\Debug\\netcoreapp3.1\\wwwroot\\index.html'.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)\r\n   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)\r\n   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding)\r\n   at System.IO.File.ReadAllText(String path)\r\n   at ifm.Suite.Services.DriverManagement.SuiteCommunication.Startup.UpdateSpaFolderEcontent()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024894,"Source":"System.Private.CoreLib","WatsonBuckets":null,"FileNotFound_FileName":"C:\\d\\SingleProcess\\src\\Services\\ifm.Suite.Services.SingleProcess\\bin\\Debug\\netcoreapp3.1\\wwwroot\\index.html","FileNotFound_FusionLog":null}&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;06.10.2020 16:38:19.234 +03:00 [Information] [drivermanagement] [ifm.Suite.Services.DriverManagement.SuiteCommunication.Startup] [] Setting up message bus...&lt;br/&gt;Hosting environment: Production&lt;br/&gt;Content root path: C:\d\SingleProcess\src\Services\ifm.Suite.Services.SingleProcess\bin\Debug\netcoreapp3.1&lt;br/&gt;Now listening on: &lt;a href="http://localhost:5000"&gt;http://localhost:5000&lt;/a&gt;&lt;br/&gt;Application started. Press Ctrl+C to shut down.&lt;br/&gt;06.10.2020 16:38:21.353 +03:00 [Information] [drivermanagement] [ifm.Suite.BuildingBlocks.Provisioning.Hosting.RestoreTenantState] [] Got 1 tenants to restore[/code]&lt;br/&gt;&lt;br/&gt;This is the regex I am currently using:&lt;br/&gt;&lt;br/&gt;[code]^(?&amp;lt;d&amp;gt;.*?) \[(?&amp;lt;p&amp;gt;.*?)]\ \[(?&amp;lt;Service&amp;gt;.*?)]\ \[(?&amp;lt;c&amp;gt;.*?)]\ \[(?&amp;lt;CorrelationId&amp;gt;.*?)](?&amp;lt;m&amp;gt;.*)[/code]&lt;br/&gt;</description><pubDate>Tue, 06 Oct 2020 18:57:39 GMT</pubDate><dc:creator>aendyp</dc:creator></item><item><title>RE: Multi-Line Regex Parser</title><link>https://www.logviewplus.com/forum/post/798</link><description>Hi,&lt;br/&gt;&lt;br/&gt;Thanks for reporting this issue.&lt;br/&gt;&lt;br/&gt;The problem here is the date format.&amp;nbsp; Sometimes there is a three digit millisecond, and sometimes the millisecond is two digits.&amp;nbsp; In other words, it starts as "dd.MM.yyyy %H:mm:ss.ff zzzz" and then changes to "dd.MM.yyyy %H:mm:ss.fff zzzz".&amp;nbsp; I assume the millisecond value could also be missing entirely.&lt;br/&gt;&lt;br/&gt;Unfortunately, I have not seen this scenario before and LogViewPlus is not handling it well.&amp;nbsp; I would expect two things:&lt;br/&gt;1.&amp;nbsp; The generic '%d' (which you are implicitly using in the Regex Parser) should handle all of these situations.&amp;nbsp; This does not appear to be the case.&lt;br/&gt;2.&amp;nbsp; It should be possible to create a multi-pattern to parse a line twice if necessary.&amp;nbsp; However, this does not appear to be working either.&amp;nbsp; Possibly because the two formats are too similar.&lt;br/&gt;&lt;br/&gt;These are both serious issues and I will get them fixed ASAP.&amp;nbsp; I should have something for you early next week.&lt;br/&gt;&lt;br/&gt;In the meantime, the best I can recommend it to use a Pattern Parser with the configuration:&lt;br/&gt;%d{dd.MM.yyyy %H:mm:ss.fff zzzz} [%p] [%S{Service}] [%c] [%S{Unknown}]%m%n&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/a471c091-6ed1-49c3-8fec-e37c.png" id="if_insertedNode_1602001507736"&gt;&lt;br/&gt;&lt;br/&gt;This will unfortunately cause some log entries to be merged together.&amp;nbsp; In the example above, the first and second will be merged.&amp;nbsp; The merging of log entries does not impact search.&lt;br/&gt;&lt;br/&gt;I apologize for the poor result on this one.&amp;nbsp; I will get these issues fixed ASAP.&lt;br/&gt;&lt;br/&gt;Thanks again,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Tue, 06 Oct 2020 16:30:00 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>