Replies: 2 comments 1 reply
-
This sounds indicative of the virtual memory not being properly set. Try this prior to running docker-compose
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Agreed! It may be the particular setup and although there may be enough ram I find an Elastic stack works best with more ram. My current setup is 48GB and running with this docker-compose.yml |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just new to pfelk and anything to do with ELK in general. I did a fresh installation of Ubuntu 20.04, installed the pfelk with docker (via docker-compose) and have not been able to get logs showing in the dashboard. I noticed that the container running logstash restarts constantly. Doing a docker container logs show this error:
ERROR] 2021-12-13 23:14:11.545 [[pfelk]-pipeline-manager] javapipeline - Pipeline error {:pipeline_id=>"pfelk", :exception=>#<Grok::PatternError: pattern %{OPENVPN_RAW} 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:1442:in
loop'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/jls-grok-0.11.5/lib/grok-pure.rb:93:incompile'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.4.0/lib/logstash/filters/grok.rb:282:in
block in register'", "org/jruby/RubyArray.java:1820:ineach'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.4.0/lib/logstash/filters/grok.rb:276:in
block in register'", "org/jruby/RubyHash.java:1415:ineach'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-filter-grok-4.4.0/lib/logstash/filters/grok.rb:271:in
register'", "org/logstash/config/ir/compiler/AbstractFilterDelegatorExt.java:75:inregister'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:228:in
block in register_plugins'", "org/jruby/RubyArray.java:1820:ineach'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:227:in
register_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:586:inmaybe_setup_out_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:240:in
start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:185:inrun'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:137:in
block in start'"], "pipeline.sources"=>["/etc/pfelk/conf.d/01-inputs.conf", "/etc/pfelk/conf.d/02-types.conf", "/etc/pfelk/conf.d/03-filter.conf", "/etc/pfelk/conf.d/05-apps.conf", "/etc/pfelk/conf.d/20-interfaces.conf", "/etc/pfelk/conf.d/30-geoip.conf", "/etc/pfelk/conf.d/37-enhanced_user_agent.conf", "/etc/pfelk/conf.d/38-enhanced_url.conf", "/etc/pfelk/conf.d/45-cleanup.conf", "/etc/pfelk/conf.d/50-outputs.conf"], :thread=>"#<Thread:0x654cc20e@/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:125 run>"}I am not sure how best to troubleshooting this so any suggestions greatly appreaciated.
Beta Was this translation helpful? Give feedback.
All reactions