Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Help & Support
»
Show Additional XML Fields
Show Additional XML Fields
Post Reply
Like
2
Show Additional XML Fields
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Sebastien Auroux
Sebastien Auroux
posted 4 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 1,
Visits: 1
hello i am using a <log4j:event message that contains <log4j:data name= element. is there a way to include one of the data directly in the gridview as shown in the below screen shot
Edited
4 Years Ago by
LogViewPlus Support
Reply
Like
2
LogViewPlus Support
LogViewPlus Support
posted 4 Years Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.1K,
Visits: 3.8K
Hi Sebastien,
You can show additional XML fields by adding them to the parser configuration. For example, in the scenario above, you could modify your parser configuration by adding:
<log4j:data name="EquipAddress" value="%S{EquipAddress}"
The %S field definition will extract the contents of the string to a new "EquipAddress" column. Note that each field definition will result in a new column, so it is best to limit the total number of definitions.
You can find out more about the %S specifier here:
https://www.logviewplus.com/docs/_s_and__s_specifiers.html
Hope that helps,
Toby
Edited
4 Years Ago by
LogViewPlus Support
Reply
Like
2
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
2
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search