debugd: use nanosecond precision for logs

This commit is contained in:
Nils Hanke 2023-03-21 11:27:46 +01:00 committed by Nils Hanke
parent 248dbb5927
commit cab6044f69
2 changed files with 2 additions and 3 deletions

View File

@ -16,6 +16,8 @@ filebeat.config:
# reload.enabled: true # reload.enabled: true
# reload.period: 10s # reload.period: 10s
timestamp.precision: nanosecond
processors: processors:
- dissect: - dissect:
when: when:

View File

@ -38,9 +38,6 @@ filter {
target => "logs" target => "logs"
skip_on_invalid_json => true skip_on_invalid_json => true
} }
date {
match => [ "[logs][ts]", "ISO8601" ]
}
mutate { mutate {
replace => { replace => {
"message" => "%{[logs][msg]}" "message" => "%{[logs][msg]}"