Hello,
I need convert a field in text format into date, i need to have another date field besides @timestamp, the @timestamp field identifies the arrival time of the log, instead the dataRisposta field (in case of response) identifies the time in which the log was generated, I need it to do find the difference between the time of request (other similar field in other log) and response.
I have this filter
filter {
grok {
match => { "message" => "\"%{TIMESTAMP_ISO8601:timestamp}........"" }
}
mutate {
rename => { "timestamp" => "dataRisposta" }
}
}
And have this result

as you can see the dataRisposta field corresponds to the time of the original event, instead the @timestamp is the arrival time of the log on elasticsearch.
Is it possible to convert dataRisposta field to date format?
Thanks