LogViewPlus Support

Parsing ArrayList in json log

https://www.logviewplus.com/forum/Topic389.aspx

By drache42 - 9 Jan 2020

Is it possible to parse an array in a log file?

Here is what the log looks like

...
"SourceContext": "Tableau.PowerTools.Server.Common, Version=2020.1.0.0, Culture=neutral, PublicKeyToken=null",
"Scope": [
"ImportunateTaskRunner starting task: AgentHeartbeatCheckup"
],
"ProcessId": 7576,
...


When I try to parse the "Scope" like this

"Scope": "%s{Scope}",


Then the output just says "System.Collection.ArrayList"

Thanks
-Steffen
By LogViewPlus Support - 10 Jan 2020

Hi Steffen,

Thanks for the detailed bug report.  I can confirm that this is a bug.  However, we are just ending a release cycle and I was able to put in a fix for this issue. 

Please try again using the latest version - v2.4.18.
https://www.logviewplus.com/download.html

Thanks again,

Toby
By drache42 - 10 Jan 2020

That fixed it! Thank you!
By LogViewPlus Support - 10 Jan 2020

Cool - Thanks for letting me know!

Tob