Skip to content

Commit

Permalink
Specify timestamp field
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-gould committed Oct 29, 2021
1 parent 27cb24b commit 5dc0f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/local/bin/journald-ingester
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ if [ -z ${AXIOM_DATASET} ]; then
exit 0
fi

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

0 comments on commit 5dc0f7e

Please sign in to comment.