I use following in Logstash while writing my index:
mutate {add_field => [ "[NEW_FIELD_INT]","%{OLD_FIELD_STRING}" ]} mutate {convert =>