Support JSON styled log files
See original GitHub issueI’m working on log files that are structured as JSON objects, one per line, e.g.
{"time":"27-01-2022 16:41:23.382","level":"CRITICAL","logger":"MyApp","callstack":"TiltSensorCalibrationApp.TiltSensorCalibrationApp","message":"Error using (line 66)\nInput Parsing Error\n\nCaused by:\n Error using jsondecode\n JSON syntax error at line 1, column 1 (character 1): expected value but found 'asdf'."}
{"time":"27-01-2022 16:44:03.062","level":"CRITICAL","logger":"MyApp","callstack":"TiltSensorCalibrationApp.TiltSensorCalibrationApp","message":"Error using (line 66)\nInput Parsing Error\n\nCaused by:\n Error using jsondecode\n JSON syntax error at line 1, column 1 (character 1): expected value but found 'asdf'."}
It might be interpreted as tabular data (as long as the format remains the same of course). Do you see any chance to support parsing that format?
Thank you very much!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Get Log Output in JSON - Baeldung
Learn how output JSON using the two most popular logging libraries, Jog4j2 and Logback.
Read more >JSON File logging driver - Docker Documentation
The json-file logging driver uses file-based storage. These files are designed to be exclusively accessed by the Docker daemon.
Read more >Service logging in JSON with Bunyan - Node.js
Bunyan is a Node.js module for logging in JSON and a bunyan CLI tool to view those logs. ... Bunyan is log4j-like: create...
Read more >JSON Well Log Format
A JSON Well Log file consists of one or more log sets each containing a log header, curve definitions and the corresponding measurement...
Read more >[Pimp my Log] Customization
The current parsed log file ID is defined as a CSS classname so you can customize distinct design according to each log file....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, I’m afraid I don’t.
Thanks 😊
No, not yet unfortunately.