Thanks for reply.
But now I have message: "coordinates cannot be specified as objects"
I tried:
{
add_field => [ "[geo_link][type]", "linestring" ]
add_field => [ "[geo_link][coordinates][0]", "[ -87.623177, 41.881832 ]" ]
add_field => [ "[geo_link][coordinates][1]", "[ -87.623177, 41.881832 ]" ]
convert => { "[geo_link][coordinates][0]" => "float" }
convert => { "[geo_link][coordinates][1]" => "float" }
}
I also tried:
add_field => [ "[geo_link][type]", "linestring" ]
add_field => [ "[geo_link][coordinates][0][lat]", " -87.623177" ]
add_field => [ "[geo_link][coordinates][0][lon]", "41.881832" ]
add_field => [ "[geo_link][coordinates][1][lat]", " -87.623177" ]
add_field => [ "[geo_link][coordinates][1][lon]", "41.881832" ]
but the same result.