Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing output section of the 20-syslog.conf file #19

Closed
wylde780 opened this issue Sep 29, 2019 · 2 comments
Closed

Missing output section of the 20-syslog.conf file #19

wylde780 opened this issue Sep 29, 2019 · 2 comments

Comments

@wylde780
Copy link
Contributor

The latest file is lacking an output section and even when I add one the pattern rules are not working.

[2019-09-28T23:14:45,196][ERROR][logstash.javapipeline ] Pipeline aborted due to error {:pipeline_id=>"pihole", :exception=>#<Grok::PatternError: pattern %{DNSMASQPREFIX} not defined>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/jls-grok-0.11.5/lib/grok-pure.rb:123:in block in compile'", "org/jruby/RubyKernel.java:1425:in loop'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/jls-grok-0.11.5/lib/grok-pure.rb:93:in compile'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.1.1/lib/logstash/filters/grok.rb:274:in block in register'", "org/jruby/RubyArray.java:1792:in each'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.1.1/lib/logstash/filters/grok.rb:268:in block in register'", "org/jruby/RubyHash.java:1419:in each'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.1.1/lib/logstash/filters/grok.rb:263:in register'", "org/logstash/config/ir/compiler/AbstractFilterDelegatorExt.java:56:in register'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:192:in block in register_plugins'", "org/jruby/RubyArray.java:1792:in each'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:191:in register_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:463:in maybe_setup_out_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:204:in start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:146:in run'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:105:in block in start'"], :thread=>"#<Thread:0x20279df3 run>"}

Thanks

nin9s added a commit that referenced this issue Sep 29, 2019
@nin9s
Copy link
Owner

nin9s commented Sep 29, 2019

thanks @wylde780
do you still get the pattern not defined error?
do you have patterns in /etc/logstash/

nin9s added a commit that referenced this issue Sep 29, 2019
@nin9s
Copy link
Owner

nin9s commented Sep 29, 2019

should work now ...

@nin9s nin9s closed this as completed Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants