Hi!
I'm trying to create geo_point field in a filter.
I can create a string representation of geo_point fine.
But I can't figure out how to write object representation & array representation of geo_point by using add_field. (I'm sure embarrassingly I'm not understanding something very simple....)
Can you show me how to write both object & array representations?
filter {
mutate {
convert => { "x" => "float" }
convert => { "y" => "float" }
add_field => { "location" => "%{y},%{x}" }
# Following adds string values, not float values..
# add_field => { "location" => ["%{x}","%{y}"] }
}
Thanks,
Q