To match your situation as closely as possible, I used the XPath expression you cited to create the following sample XML input file:
<ReportHost>
<HostProperties>
<tag name="HOST_START">Fri Feb 17 00:22:07 2017</tag>
<tag name="HOST_END"><!-- Some end date --></tag>
</HostProperties>
</ReportHost>
Just a thought (not having a go): it occurs to me that other users who know far more about Logstash than me, but perhaps might not be as fluent in XPath, might have offered you an answer if you had provided such a sample.
Off-topic: have you considered specifying a timezone setting in your date filter?
You’re welcome. I’ve recently received some extremely useful help via these forums, so I was looking for an opportunity to contribute. Glad I could help.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.