Hi,
I'm trying to parse string field as date.
i got the value from an xml using xpath..
xpath =>[
"/ReportHost/HostProperties/tag[@name='HOST_START']/text()","report_host_start",
"/ReportHost/HostProperties/tag[@name='HOST_END']/text()","report_host_end"
]
Resulting in string field like "Fri Feb 17 00:22:07 2017".
I'm trying to parse with date plugin.
date {
match => [ "report_host_start", "EEE MMM dd HH:mm:ss yyyy" ]
target => "report_host_start"
locale => "en_US"
}
without success...
i'm deleting index data before every test..
can anyone help me? tnks