Extracting parts of different timestamp fields

I have many timestamp fields:
AdmitDateTime
DCDateTime
etc.

I want to pull out the yyyy, MM, dd parts individually from them, eg

copy => {
"AdmitDateTime" => "@timestamp"
}
add_field => {
AdmitYear => "%{+yyyy}"
AdmitMonth => "%{+MM}"
}
copy => {
DCDateTime => "@timestamp"
}
add_field => {
DCYear => "%{+yyyy}"
DCMonth => "%{+MM}"
}
etc.

Unfortunately, the %{+<format>} like "%{+yyyy}" will only work on @timestamp field, not on any other fields.
Is there a shorthand, like "%{<field>+<date format>}", e.g. "%{AdmitDateTime+yyyy}" ?

Thanks

No, there is not.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.