Hi all,
I'm trying to find out a way to substitute a single value from @timestamp, from another one, for instance, the hour.
So far I know you can get the timestamp separated values using %{+HH}, but I can't find a way to do something like: mutate { replate => { '+HH' => '%{fake_hour_value}' } }
Can you guys help me? I just need to substitute the '@timestamp' hour for another value. This also raises the following question, would it be necessary to use the date filter plugin after, or would Elasticsearch be able to process the new @timestamp as such?
The ingested_hour is obtained previously, in case you are wondering. This does work for me, but I would like to know if there's a more sophisticated approach.
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.