Configuration error in Logstash under Kubernetes


(Tomer Leibovich) #1

Hi,
I'm trying to deploy logstash in my Kubernetes environment using the stable helm chart: https://github.com/helm/charts/blob/master/stable/logstash

Using the default values, everything works fine, but when I've tried to use date filter, I've started to receive the following error:

[2018-10-28T15:41:04,793][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"translation missing: en.logstash.agent.configuration.invalid_plugin_register", :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-filter-date-3.1.9/lib/logstash/filters/date.rb:160:ininitialize'", "/usr/share/logstash/logstash-core/lib/logstash/plugins/plugin_factory.rb:36:in filter_delegator'", "/usr/share/logstash/logstash-core/lib/logstash/plugins/plugin_factory.rb:95:inplugin'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:110:in plugin'", "(eval):8:in<eval>'", "org/jruby/RubyKernel.java:994:in eval'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:82:ininitialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:167:in initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:40:inexecute'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:305:in block in converge_state'"]}

This is the section that creates the filter:
filters:
main: |-
filter {
date {
match => [ "MMM dd yyyy HH:mm:ss" ]
}
}

Any idea why it's not working?


(Tomer Leibovich) #2

Issue solved


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.