Skip to content

Commit 5dc0f7e

Browse files
committed
Specify timestamp field
1 parent 27cb24b commit 5dc0f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap/local/bin/journald-ingester

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if [ -z ${AXIOM_DATASET} ]; then
2020
exit 0
2121
fi
2222

23-
exec journalctl --output=json --no-page --follow | ${SNAP}/bin/axiom ingest -C ${CONFFILE} ${AXIOM_DATASET}
23+
exec journalctl --output=json --no-page --follow | ${SNAP}/bin/axiom ingest -C ${CONFFILE} --timestamp-field=__REALTIME_TIMESTAMP ${AXIOM_DATASET}

0 commit comments

Comments
 (0)