How to convert a field string to long in logstash

Thank for the reply.Can you please share how to map in elasticsearch