Logstash cheat sheet: Difference between revisions

Line 460: Line 460:
           mutate { replace      => { "[postfix_geoip][location]"        => "-77.4875, 39.044" } }
           mutate { replace      => { "[postfix_geoip][location]"        => "-77.4875, 39.044" } }
</syntaxhighlight>
</syntaxhighlight>
geo_point は string type で "数字, 数字"。[geoip][location] を mutate convert string とかしてやればいいのか?
geo_point は string type でないといけなさそう。


ちなみに elasticsearch-template.json が 5.0 版になっているらしくって注意。
ちなみに elasticsearch-template.json が 5.0 版になっているらしくって注意。