﻿<?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  » Parsing a tab seperated log file</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Sun, 17 May 2026 06:29:15 GMT</lastBuildDate><ttl>20</ttl><item><title>Parsing a tab seperated log file</title><link>https://www.logviewplus.com/forum/post/1303</link><description>Hello,&lt;br/&gt;I have a tab-separated log file for which I don't manage to define a correct DSV parser.&lt;br/&gt;Some entries are given below&lt;br/&gt;&lt;br/&gt;----&lt;br/&gt;2022-01-20 09:25:22.561&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#removed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.MenuView&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;menuWindowOn:in:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.TransientWindow&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;class&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aPostedMenuIn:&lt;br/&gt;2022-01-20 09:25:22.579&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#removed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.MenuView&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mapAndStartup:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.MenuController&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;startUp&lt;br/&gt;2022-01-20 09:25:23.707&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#removed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.MenuView&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;highlightedMenuItemView:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.MenuItemView&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;resignSelection&lt;br/&gt;2022-01-20 09:25:23.710&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#changed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.MenuView&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;highlightedMenuItemView:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Smalltalk.UI.Controller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sensor&lt;br/&gt;-----&lt;br/&gt;Thanks for any help.&lt;br/&gt;Maarten,</description><pubDate>Thu, 20 Jan 2022 15:05:49 GMT</pubDate><dc:creator>Maarten Mostert</dc:creator></item><item><title>RE: Parsing a tab seperated log file</title><link>https://www.logviewplus.com/forum/post/1306</link><description>Glad to hear that is working for you Maarten.&amp;nbsp; Please don't hesitate to get in touch if something is not clear.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Thu, 20 Jan 2022 15:05:49 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Parsing a tab seperated log file</title><link>https://www.logviewplus.com/forum/post/1305</link><description>Many thank syou this works 👍&lt;br/&gt;I had been struggling with documentation for a few hours without getting there 🤷‍♂️&lt;br/&gt;Cheers,&lt;br/&gt;Maarten,</description><pubDate>Thu, 20 Jan 2022 14:49:50 GMT</pubDate><dc:creator>Maarten Mostert</dc:creator></item><item><title>RE: Parsing a tab seperated log file</title><link>https://www.logviewplus.com/forum/post/1304</link><description>Hi Maarten,&lt;br/&gt;&lt;br/&gt;This should be pretty straight-forward for LogViewPlus.&amp;nbsp; I am not sure the version of the log entries pasted above matches the tab situation you are seeing locally.&amp;nbsp; I assume that all of the whitespace in these log entries represents a single tab.&amp;nbsp; If this is the case, I am able to get a pretty good parse with:&lt;br/&gt;[code]%d{yyyy-MM-dd %H:mm:ss.fff}\t%S{Status}\t%S{Class1}\t%S{Class2}\t%S{Class3}\t%S{Class4}\t%m%n[/code]&lt;br/&gt;&lt;img src="../Uploads/Images/b6ddbccd-6bd2-476d-9afc-90b4.png" data-download-url="../Uploads/Images/b613a097-7e89-4e47-85b4-8896.png" id="if_insertedNode_1642672566695"&gt;&lt;br/&gt;&lt;br/&gt;I am using &lt;strong&gt;\t&lt;/strong&gt; here to represent tabs.&amp;nbsp; LogViewPlus understands this notation - which might help you make things more clear.&amp;nbsp; Tabs are also supported, so it is up to you.&lt;br/&gt;&lt;br/&gt;The only other gotcha I can see is that the number of columns appears to be variable.&amp;nbsp; It looks like the first row contains an extra column with "aPostedMenuIn:".&amp;nbsp; All log entries must follow the same format, so a fixed number of columns is needed.&amp;nbsp; It is best to use &lt;strong&gt;%m&lt;/strong&gt; to capture columns over the fixed size.&amp;nbsp; In this scenario &lt;strong&gt;%m&lt;/strong&gt; is used to capture "the rest of the log entry".&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Thu, 20 Jan 2022 10:00:00 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>