Logstash 6 config


(NIloufar) #1

i install logstash from logstash.gz my question is where i set my input, filter and output file? and also how can restart logstash for set my config file?


(Srikanta Patanjali) #2

(NIloufar) #3

i road it and set my config directly where a document said but my kibana doesn't show my index. and i get this comment in Terminal
➜ bin ./logstash -f access.conf
Sending Logstash's logs to /home/adanic/Downloads/logstash-6.2.4/logs which is now configured via log4j2.properties
[2018-05-19T09:33:45,035][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"/home/adanic/Downloads/logstash-6.2.4/modules/netflow/configuration"}
[2018-05-19T09:33:45,040][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"/home/adanic/Downloads/logstash-6.2.4/modules/fb_apache/configuration"}
[2018-05-19T09:33:45,076][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:37:in get_setting'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:70:inset_value'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:89:in block in merge'", "org/jruby/RubyHash.java:1343:ineach'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:89:in merge'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/settings.rb:138:invalidate_all'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/runner.rb:264:in execute'", "/home/adanic/Downloads/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:inrun'", "/home/adanic/Downloads/logstash-6.2.4/logstash-core/lib/logstash/runner.rb:219:in run'", "/home/adanic/Downloads/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:inrun'", "/home/adanic/Downloads/logstash-6.2.4/lib/bootstrap/environment.rb:67:in `'"]}
[2018-05-19T09:33:45,083][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit


(system) #4

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