﻿<?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  » Deduplicate log entries</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Sun, 10 May 2026 18:31:39 GMT</lastBuildDate><ttl>20</ttl><item><title>Deduplicate log entries</title><link>https://www.logviewplus.com/forum/post/969</link><description>Hi Toby,&lt;br/&gt;&lt;br/&gt;I'd like to be able to detect and hide consecutive identical log entries (or sequences of log entries), while adding the information how many times the entry or sequence of entries was repeated.&lt;br/&gt;&lt;br/&gt;I achieved the duplicate detection and filtering through a custom filter implementation, but couldn't find a good way to add the number of repetitions anywhere.&lt;br/&gt;Keeping a reference to the first LogEntry instance of the duplication series and prepending the number of duplications to the message worked as long as I was in the filter, but the modified message persisted even after removing the filter and generally this doesn't seem like a clean solution.&lt;br/&gt;&lt;br/&gt;Is there some better way to achieve this, and if not, could you add it to a future version?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Simon</description><pubDate>Fri, 16 Apr 2021 13:47:45 GMT</pubDate><dc:creator>SimonD</dc:creator></item><item><title>RE: Deduplicate log entries</title><link>https://www.logviewplus.com/forum/post/974</link><description>No problem Simon.&amp;nbsp; Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Fri, 16 Apr 2021 13:47:45 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Deduplicate log entries</title><link>https://www.logviewplus.com/forum/post/973</link><description>I actually have a custom parser for these logs already, but haven't considered using it for the deduplication yet. &lt;br/&gt;I'll give it a try, thanks!</description><pubDate>Fri, 16 Apr 2021 13:26:44 GMT</pubDate><dc:creator>SimonD</dc:creator></item><item><title>RE: Deduplicate log entries</title><link>https://www.logviewplus.com/forum/post/972</link><description>Thanks for the screenshots Simon.&amp;nbsp; &lt;br/&gt;&lt;br/&gt;The problem makes sense, but I think this is a niche issue.&amp;nbsp; LogViewPlus currently does not have the ability to 'hide' a log entry.&lt;br/&gt;&lt;br/&gt;I think your customer filter approach is pretty good.&amp;nbsp; Have you considered writing a &lt;a href="https://www.logviewplus.com/docs/custom_parsers.html" id="if_insertedNode_1618573340188"&gt;custom parser&lt;/a&gt;?&amp;nbsp; This would give you a lot more control including the ability to remove / count log entries.&amp;nbsp; You could even add an additional column to track the number of duplications.&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Fri, 16 Apr 2021 11:43:49 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Deduplicate log entries</title><link>https://www.logviewplus.com/forum/post/971</link><description>Thanks for the quick response!&lt;br/&gt;Didn't know about the message template column, very cool feature.&lt;br/&gt;&lt;br/&gt;However my goal is more about filtering out consecutive duplicates to reduce clutter and improve readability of the other log entries. Basically my log contains a lot of breadcrumbs for various entities, which I use to track their behavior over time (usually filtering for a specific entity). As part of their normal behavior, an entity will often repeat the same breadcrumb as they repeat an action, which can clutter the log view. So I want to filter consecutive duplicate breadcrumbs to have a better o, while still seeing that they happened (hence the need for a duplicate count).&lt;br/&gt;&lt;br/&gt;I guess I'll just keep using my hacky custom filter for now, since it works well enough:&lt;br/&gt;original log:&lt;br/&gt;&lt;img src="../Uploads/Images/6a537140-cd09-4516-83bc-767d.png" data-download-url="../Uploads/Images/7a86059e-5662-403a-99b5-5d45.png" id="if_insertedNode_1618570982193"&gt;&lt;br/&gt;deduplicated log:&lt;br/&gt;&lt;img src="../Uploads/Images/51b659b4-9bfc-4bbb-8ba3-6167.png" data-download-url="../Uploads/Images/2999c5f9-8df7-48da-bb74-133c.png" id="if_insertedNode_1618571013503"&gt;&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Simon&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 16 Apr 2021 11:04:18 GMT</pubDate><dc:creator>SimonD</dc:creator></item><item><title>RE: Deduplicate log entries</title><link>https://www.logviewplus.com/forum/post/970</link><description>Hi Simon,&lt;br/&gt;&lt;br/&gt;Thanks for the feedback.&amp;nbsp; &lt;br/&gt;&lt;br/&gt;Newer versions of LogViewPlus have a hidden column called 'Message Template'.&amp;nbsp; This column attempts to identify messages by their structure.&amp;nbsp; If you show this column and group by it, you should have a report on the number of times the message is used.&amp;nbsp; This might help a bit.&lt;br/&gt;&lt;br/&gt;I would be very interested on any feedback with message templating but, generally, I think removing and tracking duplicates may a niche requirement and I am not sure how to work it into the product. &lt;br/&gt;&lt;br/&gt;I have one other suggestion.&amp;nbsp; What happens if you invert your custom filter?&amp;nbsp; This should show all items excluded by the filter - which would give you an idea of the number of duplicates.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/de181262-81d1-498b-a722-4ae2.png" id="if_insertedNode_1618566285258"&gt;&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby&lt;br/&gt;</description><pubDate>Fri, 16 Apr 2021 09:46:13 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>