﻿<?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 smsts.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>Sat, 11 Apr 2026 06:06:11 GMT</lastBuildDate><ttl>20</ttl><item><title>Parsing smsts.log file</title><link>https://www.logviewplus.com/forum/post/592</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I'm trying to parse a smsts.log file, which is like below:&lt;br/&gt;&lt;span id="if_insertedNode_1591999439678"&gt;[code]&amp;lt;![LOG[ log text mesage]LOG]!&amp;gt;&amp;lt;time="16:33:53.212-60" date="06-11-2020" component="InstallSoftware" context="" type="1" thread="2168" file="downloadcontent.cpp:526"&amp;gt;[/code]&lt;/span&gt;&lt;span id="if_insertedNode_1591999441046"&gt;[code][/code]&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I want to parse and display the text like below:&lt;br/&gt;"log text mesage" in a "Log Text" column&lt;br/&gt;"06-11-2020" and "16:33:53" if possible in a single "Date/Time" column, like "11.06.2020 16:33:53" &amp;nbsp;;&amp;nbsp; if not, these can be in 2 separate "Date" and "Time" columns&lt;br/&gt;"InstallSoftware" in a "Component" column&lt;br/&gt;"2168" in a thread column&lt;br/&gt;&lt;br/&gt;Can you please help me to get started?&lt;br/&gt;I've tried with the Parser Wizard but, due to my inexperience, I can't get a valid configuration.&lt;br/&gt;&lt;br/&gt;Thank you.</description><pubDate>Mon, 29 Jun 2020 07:43:17 GMT</pubDate><dc:creator>eugenius</dc:creator></item><item><title>RE: Parsing smsts.log file</title><link>https://www.logviewplus.com/forum/post/624</link><description>I just wanted to give you a quick update on this.&amp;nbsp; We have now released LogViewPlus v2.4.36 as a &lt;a href="https://www.logviewplus.com/download.html" id="if_insertedNode_1593416484365"&gt;BETA release&lt;/a&gt;.&amp;nbsp; This version resolves the issue with the Date column not being initially visible (discussed above).&lt;br/&gt;&lt;br/&gt;It's a minor issue - but I thought you might want to know.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Toby&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 29 Jun 2020 07:43:17 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Parsing smsts.log file</title><link>https://www.logviewplus.com/forum/post/603</link><description>Great - thanks for letting me know.&amp;nbsp; I will take a look at those other issues for the next release.&lt;br/&gt;&lt;br/&gt;FYI, another option would be:&lt;br/&gt;[code]time="%d{%H:mm:ss.fff}-%s"[/code]&lt;br/&gt;&lt;br/&gt;This puts the "60" into a string variable which is then ignored.&amp;nbsp; The advantage of this approach is that it allows any single word instead of a constant.&lt;br/&gt;&lt;br/&gt;Thanks again,&lt;br/&gt;&lt;br/&gt;Toby&amp;nbsp; &amp;nbsp;</description><pubDate>Tue, 16 Jun 2020 10:23:07 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Parsing smsts.log file</title><link>https://www.logviewplus.com/forum/post/602</link><description>Hi,&lt;br/&gt;&lt;br/&gt;Wow, it's perfect!&lt;br/&gt;&lt;br/&gt;Yes, "-60" is constant. I don't know why it's configured this way.&lt;br/&gt;&lt;br/&gt;Thank you very much.</description><pubDate>Tue, 16 Jun 2020 10:18:36 GMT</pubDate><dc:creator>eugenius</dc:creator></item><item><title>RE: Parsing smsts.log file</title><link>https://www.logviewplus.com/forum/post/596</link><description>Looking at this a bit more closely, there are a few issues.&lt;br/&gt;&lt;br/&gt;The first is that the date column is missing and needs to be added manually.&amp;nbsp; I am not sure why this is happening - it could be a bug.&amp;nbsp; I will take a closer look and get back to you.&amp;nbsp; In the meantime, you can add the date column from the grid column context menu:&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/d87cd6ee-7328-4cec-9517-c501.png" id="if_insertedNode_1592130953527"&gt;&lt;br/&gt;&lt;br/&gt;The second is the timestamp 16:33:53.212-60.&amp;nbsp; What is the "-60"?&amp;nbsp; I have not seen this format before.&amp;nbsp; I believe LogViewPlus will treat this as a timezone offset and subtract 60 hours - which doesn't make sense.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Assuming -60 is constant with the log files you are viewing, you would get a better parse if you ignore it with:&lt;br/&gt;&lt;br/&gt;[code]time="%d{%H:mm:ss.fff}-60"[/code]&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby&lt;br/&gt;</description><pubDate>Sun, 14 Jun 2020 10:39:13 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Parsing smsts.log file</title><link>https://www.logviewplus.com/forum/post/594</link><description>Hi,&lt;br/&gt;&lt;br/&gt;Apologies for the delay in getting back to you.&amp;nbsp; You can parse this file using a PatternParser with the pattern:&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;![LOG[%m]LOG]!&amp;gt;&amp;lt;time="%d{%H:mm:ss.fff%z}" date="%d{dd-MM-yyyy}" component="%S{component}" context="%S{context}" type="%S{type}" thread="%S{thread}" file="%S{file}"&amp;gt;%n[/code]&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/4b67c8fa-2f8b-4d9d-941a-f09b.png" id="if_insertedNode_1592129524310"&gt;&lt;br/&gt;&lt;br/&gt;This gives the output:&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/95daaf93-52f6-43e9-8997-77ab.png" data-download-url="../Uploads/Images/af2feb88-70fa-4ab7-b50e-3960.png" id="if_insertedNode_1592129541491"&gt;&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Sun, 14 Jun 2020 10:13:13 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>