Skip to content

Commit

Permalink
feat: use timestamp as message time if exists
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
Dominik Rosiek committed May 9, 2023
1 parent 3703632 commit 172c2d6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions .changelog/3039.changed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat: use timestamp as message time if exists
21 changes: 15 additions & 6 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 172c2d6

Please sign in to comment.