I'm using a bit of ruby to generate a future timestamp. I want to set this as the @timestamp but for whatever reason the date is not accepted no matter the date format I pick (ISO8601, mm:ss,SSS etc.).
stdout @current_time" => 2019-08-10T08:34:14.587Z
relevant part of the config
ruby {
code => "event.set('@current_time', (Time.now)+2678400)"
}
date {
match => [ "@current_time", "ISO8601" ]
target => "@timestamp"
}
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.