Lon Lat as Location - need help to parse the string

Hi there,
i got a location field (lon, lat) like this:
"(6.95779078709084,51.1122094336657)"

I dont know how to write the mutate filter in logstash for this string

Beforehand I had lon lat as single fields and using this:

mutate {
		add_field => [ "[location]","%{lon}" ]
		add_field => [ "[location]","%{lat}" ]
		}
		mutate {convert => {"[location]" => "float"}
		}

Thanks and Regards

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