Parsing ArrayList in json log

Posted on Jan 9, 2020 at 9:39 PM
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
Posted on Jan 10, 2020 at 7:51 AM
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
Posted on Jan 10, 2020 at 4:35 PM
That fixed it! Thank you!
Posted on Jan 10, 2020 at 4:50 PM
Cool - Thanks for letting me know!

Tob

This topic is closed and cannot receive new replies.