Extract 'Year' from 'new Date()' function in Kibana scripted field

Hello Mike,

You should be able to use new SimpleDateFormat('yyyy') to grab the year. Reference: Scripted fields date parse.

Regards,
Aaron