Hello there.
I'm using ELK 5.1.1 stack and right now was trying to configure fingerprint plugin to generate hash-code for URL links.
Here's part of configuration:
input {
http{
type => "frontend_event"
}
}
filter {
de_dot{
}
if [type] == 'frontend_event' {
date {
match => ["timestamp", "ISO8601", "UNIX_MS"]
remove_field => ["timestamp"]
}
mutate{
add_field => {
"user_agent_unparsed" => "%{[headers][http_user_agent]}"
}
}
useragent {
source => "user_agent_unparsed"
target => "user_agent"
remove_field => ["user_agent_unparsed"]
}
if [eventType] == 'SEARCH' {
fingerprint {
source => ["url"]
target => "search_url_hash"
method => "SHA1"
}
}
if [eventType] == 'OPEN_PAGE' {
fingerprint {
source => ["searchUrl"]
target => "search_url_hash"
method => "SHA1"
}
}
}
}
output{
elasticsearch{}
}
And while logstash is setting up, I receive following error:
15:25:55.325 [[main]-pipeline-manager] ERROR logstash.agent - Pipeline aborted due to error {:exception=>#<LogStash::ConfigurationError: translation missing: en.logstash.agent.configuration.invalid_plugin_register>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-fingerprint-3.0.2/lib/logstash/filters/fingerprint.rb:60:in `register'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:230:in `start_workers'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:230:in `start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:183:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:292:in `start_pipeline'"]}
From my point of view, it's kind of a bug, but maybe someone could find any config-related problems, I do appreciate any help.
P.S. Also logstash -f /etc/logstash/conf.d/ -t
returns:
/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/ -t
Could not find log4j2 configuration at path /etc/logstash/log4j2.properties. Using default config which logs to console
Configuration OK
15:25:10.371 [LogStash::Runner] INFO logstash.runner - Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash