about summary refs log tree commit diff
path: root/src/tests.rs
AgeCommit message (Collapse)AuthorFilesLines
2018-06-17 fix(main): Correct name of JSON payload fieldVincent Ambo1-4/+6
2018-06-17 feat(main): Parse timestamps out of journald entriesVincent Ambo1-0/+11
Instead of relying on Stackdriver's ingestion timestamps, parse timestamps out of journal entries and provide those to Stackdriver. If a timestamp could not be parsed out of a log entry, the ingestion time is used as the fallback.
2018-06-16 feat(main): Implement parsing of JSON payloadsVincent Ambo1-0/+80
Stackdriver supports structured JSON payloads in addition to simple plain-text payloads. This commit introduces a new feature in which journaldriver will attempt to parse incoming log messages into JSON vaues and forward them as structured payloads if they are JSON objects. Messages that can not be parsed into JSON objects will continue to be forwarded as plain text messages.