Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSON log per line

See original GitHub issue

Is there support for JSON logs where every line is a seperate JSON?

{msg: "log"}
{msg: "log2"}
{msg: "log3"}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

LiorBanaicommented, Aug 13, 2021

sorry for the late response. Not sure if this still relevant but in the latest version the new json parser allows to parse but single json or json per file and you can map fields to the Analogy fields: image

LiorBanaicommented, Jun 29, 2021

It may not work since Serilog needs specific key words But I can extend the NLog to read the json. or better yet, I can update the Generic Json Parser to handle this job:

I’ll check during the weekend and update you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON Lines
JSON Lines is a convenient format for storing structured data that may be processed one record at a time. It works well with...
Read more >
JSONL: Definition, JSON Lines Format, Use Cases, and More
JSON Lines is a fantastic format for log files and a flexible way to transfer messages across cooperating processes, according to the website ......
Read more >
JSON Logs | Best Practices, benefits, and examples
JSON logs are log messages that are formatted as JSON objects, with each log message represented as a separate object. This allows log...
Read more >
JSON versus JSON Lines
In some cases, you might need to extract logs as JSON Lines, where each line is a JSON object. In other cases, you...
Read more >
Format for writing a JSON log file?
You're not going to write a single JSON object per FILE, you're going to write a JSON object per LINE. Each line can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found