Parsing lon/lat with logstash

I am facing problem while trying to parse location to 24.7N,118.5W.
How can parse it to location without removing the N and W from this format 24.7N,118.5W

seems like everybody njoying the holidays :grinning:

That is as far as I know not a valid location format, so I suspect you will need to parse the string and store the latitude and longitude as numbers in a separate field, which you the map as a geo_point.

Thanks for the reply Christian , I was thinking the same but was trying to find if there is any alternate solution to it .
I am trying to parse data set from NASA fireball events.

Peak Brightness Date/Time (UT),Latitude (deg.),Longitude (deg.),Altitude (km),Velocity (km/s),vx,vy,vz,Total Radiated Energy (J),Calculated Total Impact Energy (kt)
31-07-2017 22:01,24.7N,118.5W,,,,,,5.80E+10,0.19
23-07-2017 6:12,6.6S,69.7W,38,17.2,-0.4,8.7,-14.8,3.50E+10,0.12

If you'd like an SLA on your questions we can provide that. Otherwise, it is the end of the year and many people are on holidays.

Please have some patience :slight_smile:

I was just kidding don't take it seriously :slight_smile:

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