You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ZeroAviation Yes, currently using Log line patterns is the only way to parse raw logs including JSON files.
If the file contains valid JSON format data, you can let ULogViewer format the raw JSON data by enabling Format JSON data when reading:
Then you will get formatted JSON data:
Because JSON properties will be separated into multiple lines, it is easier to define Log line patterns with multiple patterns which is more flexible to add/remove patterns in the future. You can also set Way of matching log lines with patterns to Arbitrary order to ignore the order of JSON properties:
But in your case the JSON file contains incomplete JSON data, ULogViewer cannot parse it correctly. We will try adding ability to parse incomplete JSON data in the next version.
Hi,
I want to parse JSON files from an application which uses nlog. I can specify the layout in any manner.
The question is, is using "Log line patterns" and regex the only option? or can I directly access the json schema?
Thanks in advance!
The text was updated successfully, but these errors were encountered: