【发布时间】:2017-07-25 14:48:55
【问题描述】:
我正在研究 logstash 。我已经成功安装了logstash-filter-geoip
但是当我尝试使用它时,它会返回 _geoip_lookup_failure 这是在我的 logstash.conf 文件中
filter{
geoip {
source => "clientip"
}
}
这是我对 logstash 的输入
55.3.244.1 GET /index.html 15824 0.043
它返回
{
"duration" => "0.043",
"request" => "/index.html",
"@timestamp" => 2017-07-25T14:33:30.495Z,
"method" => "GET",
"bytes" => "15824",
"@version" => "1",
"host" => "DEs-0033",
"client" => "55.3.244.1",
"message" => "55.3.244.1 GET /index.html 15824 0.043",
"tried to use this it returns _geoip_lookup_failuretags" => [
[0] "_geoip_lookup_failure"
]
}
【问题讨论】:
-
你确定你有一个字段
clientip吗?我没有出现在您的示例中。
标签: elasticsearch logstash elastic-stack geoip