logstash-plugins / logstash-filter-http

HTTP Filter Plugin for Logstash
Apache License 2.0
12 stars 29 forks source link

Debug message causes Fatal error #12

Closed defensivedepth closed 5 years ago

defensivedepth commented 5 years ago

I have a very simple pipeline using the following http filter, but I continue to get errors (see here: https://gist.github.com/defensivedepth/7b8d22aeec6dedac6438d8adeaed4b1d 1)

I have tried different sites, different settings, but always come back to this error. Logstash 6.6.1

Appears to be a bug - https://discuss.elastic.co/t/http-filter-undefined-local-variable-or-method-parameters-sprintfed/169905?


input { file { path => "/input*.json" codec => json }

}

filter { http { url => "https://site.com/%{identifier}" }

}

output { stdout {} }

michaelhyatt commented 5 years ago

Same with Logstash 6.7.0

ttimasdf commented 5 years ago

the parameter_sprintfed is not defined elsewhere https://github.com/logstash-plugins/logstash-filter-http/blob/9d9a837f85f1e8c6ac759fe7202427ed2351069b/lib/logstash/filters/http.rb#L54