Show Additional XML Fields


Author
Message
Sebastien Auroux
Sebastien Auroux
New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)
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
LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Login

Explore
Messages
Mentions
Search