Closed WangYiLong closed 8 years ago
@WangYiLong can you show the configuration file? I just tested:
/tmp/logstash-2.1.1 % echo "http%3A%2F%2Fimage.baidu.com%2Fsearch%2Findex%3Fct%3D201326592%26cl%3D2%26lm%3D-1%26nc%3D1%26ipn%3Dr%26tn%3Dbaiduimage%26rps%3D3%26pv%3D%26word%3Dpacific%20girls%E6%B9%BF%E6%B6%A6%26ofr%3Dlayne%25E5%25A5%2597%25E5%259B%25BE%26ie%3Dutf-8%26istype%3D2%26z%3D0%26fm%3Drs10" | bin/logstash -f config
Settings: Default filter workers: 2
Logstash startup completed
{
"message" => "http://image.baidu.com/search/index?ct=201326592&cl=2&lm=-1&nc=1&ipn=r&tn=baiduimage&rps=3&pv=&word=pacific girls湿润&ofr=layne%E5%A5%97%E5%9B%BE&ie=utf-8&istype=2&z=0&fm=rs10",
"@version" => "1",
"@timestamp" => "2015-12-28T09:29:49.509Z",
"host" => "Joaos-MBP.lan"
}
Logstash shutdown completed
%
@jsvd thanks!
http%3A%2F%2Fimage.baidu.com%2Fsearch%2Findex%3Fct%3D201326592%26cl%3D2%26lm%3D-1%26nc%3D1%26ipn%3Dr%26tn%3Dbaiduimage%26rps%3D3%26pv%3D%26word%3Dpacific%20girls%E6%B9%BF%E6%B6%A6%26ofr%3Dlayne%25E5%25A5%2597%25E5%259B%25BE%26ie%3Dutf-8%26istype%3D2%26z%3D0%26fm%3Drs10
this encoded url can't decode by logstash-filter-urldecode v2.0.2
logstash v2.1.1
issues log: