From 172c2d6afc5a8a176f5287623d8899a17ceda445 Mon Sep 17 00:00:00 2001 From: Dominik Rosiek Date: Tue, 9 May 2023 12:56:08 +0200 Subject: [PATCH] feat: use timestamp as message time if exists Signed-off-by: Dominik Rosiek --- .changelog/3039.changed.txt | 1 + deploy/helm/sumologic/values.yaml | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 .changelog/3039.changed.txt diff --git a/.changelog/3039.changed.txt b/.changelog/3039.changed.txt new file mode 100644 index 0000000000..0ce21957d0 --- /dev/null +++ b/.changelog/3039.changed.txt @@ -0,0 +1 @@ +feat: use timestamp as message time if exists \ No newline at end of file diff --git a/deploy/helm/sumologic/values.yaml b/deploy/helm/sumologic/values.yaml index 1251db957a..394ad15191 100644 --- a/deploy/helm/sumologic/values.yaml +++ b/deploy/helm/sumologic/values.yaml @@ -188,17 +188,26 @@ sumologic: default: name: logs config-name: endpoint-logs - ## Properties can be used to extend default settings, such as processing rules, fields etc - # properties: - # filters: - # - name: "Test Exclude Debug" - # filter_type: "Exclude" - # regexp: ".*DEBUG.*" + properties: + default_date_formats: + ## Ensures that timestamp key has precedence over timestamp auto discovery + - format: epoch + locator: '\"timestamp\":(\\d+)' + + # filters: + # - name: "Test Exclude Debug" + # filter_type: "Exclude" + # regexp: ".*DEBUG.*" events: default: name: events config-name: endpoint-events + properties: + default_date_formats: + ## Ensures that timestamp key has precedence over timestamp auto discovery + - format: epoch + locator: '\"timestamp\":(\\d+)' traces: default: name: traces