From 5dc0f7e49c62f981f97967d07964d2f5034c30dc Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 29 Oct 2021 16:44:02 +0000 Subject: [PATCH] Specify timestamp field --- snap/local/bin/journald-ingester | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/local/bin/journald-ingester b/snap/local/bin/journald-ingester index e941de1..f1cd7e9 100755 --- a/snap/local/bin/journald-ingester +++ b/snap/local/bin/journald-ingester @@ -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}