I have also found one similar issue attaching code solution and link below.
ruby {
code => '
t = Time.at(event.get("@timestamp").to_f)
event.set("someField", t.strftime("%Y-%m-%d"))
'
}
But not sure how can I use this code to get the format I want [YYYY-MM-DDThh:mm:ss.sss+/-hh:mm]