I wanted to add 5 hours in my datetime through logstash.
have found a way in logstash 6.4.
code => 'event.set("@timestamp", LogStash::Timestamp.new(Time.at(event.get("@timestamp").to_f+86400)))'
but in logstash 7.11 its not working with the following error
sorry for not sharing the logs