﻿<?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 » Configuration &amp; Customization  » Add custom values to filtered 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>Sat, 09 May 2026 03:02:22 GMT</lastBuildDate><ttl>20</ttl><item><title>Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/476</link><description>Hi Toby,&lt;br/&gt;&lt;br/&gt;is it possible to create a custom filter that adds custom values to the filtered log entries and view these values for example in a special column in the&amp;nbsp;log entry grid?&lt;br/&gt;&lt;br/&gt;Regards&lt;br/&gt;Andreas&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 03 Apr 2020 09:04:35 GMT</pubDate><dc:creator>AndreasP</dc:creator></item><item><title>RE: Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/486</link><description>Thanks for the update Andreas - glad to hear you found a solution!&lt;br/&gt;&lt;br/&gt;It is difficult for me to comment on the focus / delay issue as custom code is involved.&amp;nbsp; I also have no way to recreate the issue.&amp;nbsp; If you want to send me your code, I am happy to take a look.&amp;nbsp; You can contact me privately using this form: &lt;a href="https://www.logviewplus.com/contact.aspx"&gt;https://www.logviewplus.com/contact.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Fri, 03 Apr 2020 09:04:35 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/485</link><description>Hi Toby,&lt;br/&gt;&lt;br/&gt;just wanted to let you know, that I now have implemented a custom analyzer that opens a non blocking dialog. So I can copy and paste search strings from the LogViewPlus window to the plugin &amp;#119;indow. Additionally I save the last search entries to the registry as suggested by you. Think I can live with that solution. Thanks!&lt;br/&gt;&lt;br/&gt;Just a side note. Changing back the focus from the LogViewPlus window to the plugin window (with ALT+TAB) somehow does not always work well in combination with ILogViewer.FindLogEntry. There are cases when the focus is not changed and cases where there is a few seconds delay until the plugin windows appears.&lt;br/&gt;&lt;br/&gt;Regards&lt;br/&gt;Andreas</description><pubDate>Fri, 03 Apr 2020 08:56:55 GMT</pubDate><dc:creator>AndreasP</dc:creator></item><item><title>RE: Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/480</link><description>Hi Andreas,&lt;br/&gt;&lt;br/&gt;It makes sense what you are trying to do.&amp;nbsp; It is possible this could be flushed out into a new application feature, but I think it needs more thought at this stage.&amp;nbsp; Hmmm....&amp;nbsp; For now, I think your best option might be to filter your log entries down as best you can and then export to Excel or a CSV file for further analysis.&lt;br/&gt;&lt;br/&gt;Have you tried sorting by the Elapsed column?&amp;nbsp; This may not meet your requirements - but I think it will help.&lt;br/&gt;&lt;br/&gt;There is no way to access LogViewPlus settings from a custom analyzer, but there is nothing to stop you from reading and writing to the file system or the registry.&amp;nbsp; You should be able to manage your own component settings.&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Wed, 01 Apr 2020 14:31:32 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/479</link><description>One additional question. Is it possible to store configuration settings in custom analyzers? I would store the start/stop configuration settings from former calls and use these as kind of history for next calls to the analyzer. So I would have to enter the settings manually only once. Or even store a list of common start/stop filters.</description><pubDate>Wed, 01 Apr 2020 13:49:27 GMT</pubDate><dc:creator>AndreasP</dc:creator></item><item><title>RE: Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/478</link><description>Hi Toby,&lt;br/&gt;&lt;br/&gt;what I actually want to do is find places in logs where certain processing steps take too long. I do this by filtering down to log entries that indicate the start and stop of such processing steps and compare the time between those. However if I have many hundreds or more of such entries searching them by hand is not a solution. What makes visual inspection additionally difficult is, that I have to look at every second log entry since the "elapsed" value of the start event is the time since the last stop (which I'm not interested in).&lt;br/&gt;&lt;br/&gt;So I was thinking if I can write a custom filter for this. The idea was to filter on the stop events and add the time difference to the (no longer shown) start event to a special column. At least this way I would only have the interesting duration values in the list. Maybe sorting would also work (but I only want to sort the result list, and not the original list - I think this is also not possible). However this does not seem to work since I don't have a suitable unused column.&lt;br/&gt;&lt;br/&gt;So the next idea was to write a custom filter. Basically the searching works, but now I wonder how do I tell the analyzer which ones are the start events and which ones are the stop events in a general way without hard-coding them. I probably could enter them manually in a custom input dialog, which is again a little bit cumbersome (especially since I can't use copy and paste from the LogViewPlus windows since it is blocked while the input dialog is open.&lt;br/&gt;&lt;br/&gt;So currently I wonder if it is possible to read out the currently selected (multiple) log entries in the log entry grid. So I could select a start and stop entry and use the messages as default values in my input dialog for the custom analyzer.&lt;br/&gt;Or is it possible to access for example the current list of highlights or filters?&lt;br/&gt;Or any other ideas?&lt;br/&gt;&lt;br/&gt;Looking forward to your input.&lt;br/&gt;&lt;br/&gt;Regards&lt;br/&gt;Andreas</description><pubDate>Wed, 01 Apr 2020 11:42:23 GMT</pubDate><dc:creator>AndreasP</dc:creator></item><item><title>RE: Add custom values to filtered log entries</title><link>https://www.logviewplus.com/forum/post/477</link><description>Hi Andreas,&lt;br/&gt;&lt;br/&gt;So, you are looking to enrich the data?&lt;br/&gt;&lt;br/&gt;It is technically possible.&amp;nbsp; You could modify the log entry that is passed into the custom filter, but this would be modifying an existing column rather than creating a new one.&lt;br/&gt;&lt;br/&gt;I think a better approach might be to create a custom parser and enrich the data as it is being processed.&amp;nbsp; This gives you more control over column definitions.&lt;br/&gt;&lt;br/&gt;You can find the documentation on custom filters / parsers here:&lt;br/&gt;&lt;a href="https://www.logviewplus.com/docs/custom_filters.html"&gt;https://www.logviewplus.com/docs/custom_filters.html&lt;/a&gt;&lt;br/&gt;&lt;a href="https://www.logviewplus.com/docs/custom_parsers.html"&gt;https://www.logviewplus.com/docs/custom_parsers.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Tue, 31 Mar 2020 17:55:32 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>