I have not tested it, but you could try
grok { match => { "message" => "(?<[@metadata][ts]>\d{4} \d{2}:\d{2}:\d{2})" } }
date { match => [ "[@metadata][ts]", "MMdd HH:mm:ss" ] }
See comments on guessing the year here.
I have not tested it, but you could try
grok { match => { "message" => "(?<[@metadata][ts]>\d{4} \d{2}:\d{2}:\d{2})" } }
date { match => [ "[@metadata][ts]", "MMdd HH:mm:ss" ] }
See comments on guessing the year here.
© 2020. All Rights Reserved - Elasticsearch
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.