Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Default line separation to true #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndesKrrrrrrrrrrr
Copy link

When ingesting logs via DataDog the logs are malformed if appendLineSeparator is false.

appendLineSeparator = false

We get log lines of concatenated JSON objects, which aren't parsed correctly. Long lines are snipped somewhere due to log streaming. For example

{"name": "john","age":11}{"otherEvent": ["foo"]}
{"name": "jane","age":22}{"otherEvent": ["bar"]}

appendLineSeparator = true

A single JSON object per line, easy to parse, no snipping. For example:

{"name": "john","age":11}
{"otherEvent": ["foo"]}
{"name": "jane","age":22}
{"otherEvent": ["bar"]}

Signed-off-by: Kristofer <kristofer@andes.is>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant