I am running logstash 5 on rhel 6. I am trying to get xml data as input and format it through xml filter plugin. I store the output into a target field and i try to parse a UNIX type date in one of the fields inside the target array. But the result says _dateparsefailure and the reason is not known.
i will paste the config file here
xml {
store_xml => true
source => message
target => parsed_message
}
mutate {
#convert => {"[parsed_message][LastChangedAt]" => "integer"}
}
date {
match => [ "[parsed_message][LastChangedAt]","UNIX" ]
target => "last_changed_timestamp"
}
and the input i am giving is
Could someone help me