Support for jsonlines/ndjson? #13242
-
Hi, I'm new to Enso and thought this tool would be great to analyze some logs from our system (to be more specific, gitlab instance). The logs we get are mostly formatted in So I just tried it out and it didn't work out. Without any changes to the file itself, Enso only find one JSON Object. So not really useful. It would be a bit tiring to always edit the files beforehand. So is there support for the format or possibly a nice workaround? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @botkero, No, we don't automatically recognise Attached a sample to get you started: If it is a large log file, there is a |
Beta Was this translation helpful? Give feedback.
Hi @botkero,
No, we don't automatically recognise
jsonlines
orndjson
.Probably the easiest way to read the file is to specify to read it as
Plain_Text
. Then, you can access thelines
and parse the JSON using themap
and.parse_json
.Something like:
Attached a sample to get you started:
Read JSON Lines.zip
If it is a large log file, there is a
File_By_Line
reader which was made to let you read section by section.