How to parse this date pattern

I've the following XML


and inside the filter, have the multiline plugin and the xml as followed:

xml {
    source => "message"
    target ="xml_message"
    store_xml => false
    xpath => [
	"/lsfIndicatorEvent//dimension[1]/text()" , "layer",
        "/lsfIndicatorEvent//startdate/text()", "startDate"

I can get the layer and the startDate as strings, but now I can't convert that startDate to date without giving me, failed parsing date.

Using a date filter with the ISO8601 pattern doesn't work? What error message do you get?

1 Like

After many tries, it worked. Sorry for bothering.