Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Configuration & Customization
»
Dynamic Creation of Columns by CustomReader
Dynamic Creation of Columns by CustomReader
Post Reply
Like
7
Dynamic Creation of Columns by CustomReader
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
phw
phw
posted Last Year
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 4,
Visits: 15
Hi there
I have built a plugin based on your project: custom reader.
The Plugin reads logfiles provided by a service.
But we have a lot of different types of logfiles, from different applications.
What i want to do now is create some additional columns in the viewer (dynamically created by the data received).
The Clearcove.LogViewer.Common.LogEntry object seems to be limited to the standard columns.
now:
what i want:
Is there a way to achieve this with this plugin?
Or is there a way to achieve this with any plugin?
Thanks for your answer.
phw
Reply
Like
7
LogViewPlus Support
LogViewPlus Support
posted Last Year
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Hi Phw,
If you look at MyParser in the sample projects, the GetSupportedTypes method implements a string column. You can use a string column to create the needed custom columns.
GetSupportedTypes will be called after the Initialize method, but before the parser receives any data. It is not possible to dynamically change the columns based on the log entry data. LogViewPlus can do this through
message parsers
, but this is an application feature independent of the parser.
In other words, columns need to be defined for the log file in advance. All log entries in the file must follow the same
metadata structure
.
Maybe you could use the parser configuration / Initialize method to help determine the columns in advance?
Hope that helps,
Toby
Reply
Like
8
phw
phw
posted Last Year
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 4,
Visits: 15
Hi Toby
Thank you very much, I will try this out.
have a nice day
Reply
Like
7
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
7
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search