I want to create a new field with a year-month format (yyyy-mm, 2020-08) from the eventstamp field which I am receiving in Epoch format. I am new to logstash, I was able to add a new field but I don't know how to covert the epoch to custom date format.
add_field => {
"customdate" => "%{timestamp}"
}
Appreciate your help in advance. Thank you.