Group: Forum Members
Posts: 50,
Visits: 218
|
Hi Toby,
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).
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.
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.
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. Or is it possible to access for example the current list of highlights or filters? Or any other ideas?
Looking forward to your input.
Regards Andreas
|