Skip to content

Commit

Permalink
Rename took_in_nanos to event.duration for the JSON logs as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Martin committed Jan 11, 2019
1 parent 95b8cc5 commit d503db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion filebeat/module/logstash/slowlog/ingest/pipeline-json.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{
"rename": {
"field": "logstash.slowlog.logEvent.took_in_nanos",
"target_field": "logstash.slowlog.took_in_nanos"
"target_field": "event.duration"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@timestamp": "2019-01-08T14:58:35.605Z",
"ecs.version": "1.0.0-beta2",
"event.dataset": "logstash.slowlog",
"event.duration": 5026401704,
"event.module": "logstash",
"fileset.name": "slowlog",
"input.type": "log",
Expand All @@ -15,7 +16,6 @@
"logstash.slowlog.plugin_params_object.id": "9746eeec777fcb4c7ea30366dab5445873a8560b7f1766ee1272e59b08d731fb",
"logstash.slowlog.plugin_type": "filters",
"logstash.slowlog.thread": "Ruby-0-Thread-6: :1",
"logstash.slowlog.took_in_millis": 5026,
"logstash.slowlog.took_in_nanos": 5026401704
"logstash.slowlog.took_in_millis": 5026
}
]

0 comments on commit d503db9

Please sign in to comment.