How to check if the field exists before to define him as geoppoint

Perfect I thank you ! But my problem isn't solved :disappointed_relieved: i asked this question because when i try to convert geoip.location into a geo_point it doesn't work ( i tried to find the issue without sucess). I followed this tutorial (and others )https://www.elastic.co/fr/blog/geoip-in-the-elastic-stack
i actually use geoip, but if i can't see the location datas on a map, use it seems meaningless to me
Do you have any solutions ?