Comments (4)
Here is an example file
from ulogviewer.
@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.
from ulogviewer.
Hi @hamster620
Thank you for your reply! This is the default output when you select JsonLayout in NLOG.
I will explore alternative options.
Thanks again,
Matt
from ulogviewer.
Now JSON data with multiple root elements can be formatted in 4.0.1.1222.
from ulogviewer.
Related Issues (20)
- 3.0版本里为什么把日志显示模式分栏了 HOT 2
- NLog Log pattern example for this scenario HOT 2
- 无法在ArchLinux下运行 HOT 8
- 最新的3.0版本无法移除旧专业版授权 HOT 3
- How can i use it for switch logs HOT 8
- Can the tool keep the position of current selected line when we turn on/off "Show all logs temporarily"? HOT 2
- log filtering: show previous filters HOT 3
- scrollable marked logs HOT 1
- 是否支持”文字筛选“、脚本等资料的导入、导出 HOT 2
- 是否可以在 key log analysis rule 中自定义时间格式 HOT 1
- 是否可以在 Text Filter 加入 Timestamp HOT 3
- Need help to parse custom log pattern HOT 2
- Timestamp missing in .evtx HOT 4
- [Question] Does this LogViewer support Multi-line Log lines? HOT 2
- Crash when dragging the Android Log file to the APP every time HOT 4
- Last log line missing when using multline parsing HOT 3
- Is continuous reading supported on files HOT 2
- Multiline message starts with empty line HOT 3
- How to change colors for log levels HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulogviewer.