Post Process FIelds


Author
Message
Brad Konia
Brad Konia
Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)Forum Expert (808 reputation)
Group: Forum Members
Posts: 70, Visits: 111
Could you please provide the option to apply a regex replace to the message field (or any field really)?

For example, I'm working with a log file containing stack traces. Each log entry is a single line, but it contains many stack trace lines delimited by the pound character instead of the newline character. When viewing the message, I'd like to replace those pound characters with newline characters, to make it readable.

I'm sure this could be accomplished by creating a custom processor, but that's too involved for a simple search/replace operation. It would be much more convenient to have this type of functionality available in the UI. May I suggest adding a Search/Replace option to the context meny of each column.in the log viewer. When selecting this option, it would open a modal window containing a Search box and a Replacement box. You could enter your regex patterns in each box and this search/replace operation would be performed automaticallyi from then on.
Edited 5 Years Ago by SoBeGuy
Reply
LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.3K, Visits: 4.5K
Thanks SoBe.  I think we are on the same page here - and I am glad to hear that you think this solution would work for you.  I need to think a bit more about exactly how this would work, but I am definitely thinking along the same lines.

I will post back here when I have something for you to review.

Thanks again,

Toby
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search