﻿<?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 » Features &amp; Suggestions  » Add ability to parse logfmt logs</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Sun, 21 Jun 2026 06:43:07 GMT</lastBuildDate><ttl>20</ttl><item><title>Add ability to parse logfmt logs</title><link>https://www.logviewplus.com/forum/post/881</link><description>Apps like Grafana use a log format that is sometimes called "&lt;strong&gt;logfmt&lt;/strong&gt;", and which looks like this:&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;t=2020-12-18T16:27:55+0000 lvl=info msg="Request Completed" logger=context userId=2 orgId=1 uname=erict method=GET path=/api/usage/dashboard/14/views/recent status=200 remote_addr=24.168.218.173 time_ms=77 size=2 referer="&lt;a href="https://ericgce.grafana.net/d/HvRjRI5Gz/windows-node-eric-laptop?orgId=1&amp;amp;refresh=5m""&gt;https://ericgce.grafana.net/d/HvRjRI5Gz/windows-node-eric-laptop?orgId=1&amp;amp;refresh=5m"&lt;/a&gt; traceID=409dae83dc12a6a7&lt;/font&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;br/&gt;I.e., it is structured as a space-delimited list of key=value pairs. The tricky part of parsing this log format is: each logger may have a different set of keys (and there are many different loggers populating log messages into this one log file). So if you want to parse this type of log into a table format, I think you would first need to read in the whole file, find all the possible keys, and make a column for each.&lt;br/&gt;&lt;br/&gt;I am doing a lot of Grafana log analysis lately, and have not been able to use LogViewPlus for any of it. I really miss my LogViewPlus! Lol&lt;br/&gt;&lt;br/&gt;Do you think it would be possible to add a &lt;strong&gt;logfmt &lt;/strong&gt;parser to LogViewPlus?&lt;br/&gt;&lt;br/&gt;Thanks!!&lt;br/&gt;Eric</description><pubDate>Fri, 18 Dec 2020 16:49:35 GMT</pubDate><dc:creator>ethirolle</dc:creator></item><item><title>RE: Add ability to parse logfmt logs</title><link>https://www.logviewplus.com/forum/post/882</link><description>Hi Eric,&lt;br/&gt;&lt;br/&gt;Thanks for the feedback.&lt;br/&gt;&lt;br/&gt;We can definitely parse this type of file.&amp;nbsp; The end result would be something like the &lt;a href="https://www.logviewplus.com/docs/json_parser.html" id="if_insertedNode_1608309742584"&gt;JSON Parser&lt;/a&gt; where you need to define the fields you are interested in prior to opening the file.&lt;br/&gt;&lt;br/&gt;Rather than create a "Logfmt Parser", what I would like to do is create a generic "Key Value Pair Parser".&amp;nbsp; The generic version could parse the log entry above, but also potentially extract data from XML or JSON formats.&amp;nbsp; The purpose here wouldn't be to replace those parsers, but just to have a more generic parser that could be used to parse some of these lesser known log formats.&lt;br/&gt;&lt;br/&gt;I think this is something that would really improve LogViewPlus.&amp;nbsp; The problem is scheduling.&amp;nbsp; We have a bit of a backlog at the moment, but hopefully we can have something for you before July.&amp;nbsp; We will prioritize this, but there are a few other big features we need to get out the door first.&lt;br/&gt;&lt;br/&gt;I will post back here when I have a BETA version for you.&lt;br/&gt;&lt;br/&gt;Thanks again!&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Fri, 18 Dec 2020 16:49:35 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>