Hello all,
I have two questions:
1- When i install logstash this error appeared
2-I can't load filebeats into kibana
i load the filebeats manually but this error appeared
Hello all,
I have two questions:
1- When i install logstash this error appeared
2-I can't load filebeats into kibana
i load the filebeats manually but this error appeared
Please do not post screenshots of error messages. They are hard for people who follow the forums on email, and for those who are reading on mobile devices, and they break search, which means other people who have the same issue will not be able to find the solution.
Please copy and paste the text of the errrors, and format it using the </>
button.
ok this is the first error in logstash intallation
PS C:\Users\Nada\inada2244\logstash\logstash-6.2.3> bin/logstash -f logstash-simple.conf
Sending Logstash's logs to C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logs which is now configured via log4j2.properties
[2018-05-06T14:50:27,784][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"C:/Users/Nada/inada2244/logstash/logstash-6.2.3/modules/fb_apache/configuration"}
[2018-05-06T14:50:27,838][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"C:/Users/Nada/inada2244/logstash/logstash-6.2.3/modules/netflow/configuration"}
[2018-05-06T14:50:27,995][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:37:in `get_setting'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:70:in `set_value'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:89:in `block in merge'", "org/jruby/RubyHash.java:1343:in `each'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:89:in `merge'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:138:in `validate_all'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/runner.rb:264:in `execute'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/runner.rb:219:in `run'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\Users\Nada\inada2244\logstash\logstash-6.2.3\lib\bootstrap\environment.rb:67:in `'"]}
[2018-05-06T14:50:28,076][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit
PS C:\Users\Nada\inada2244\logstash\logstash-6.2.3> bin/logstash -e 'input { stdin { } } output { stdout {} }'
Sending Logstash's logs to C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logs which is now configured via log4j2.properties
[2018-05-06T15:02:22,959][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"C:/Users/Nada/inada2244/logstash/logstash-6.2.3/modules/fb_apache/configuration"}
[2018-05-06T15:02:23,052][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"C:/Users/Nada/inada2244/logstash/logstash-6.2.3/modules/netflow/configuration"}
[2018-05-06T15:02:23,192][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:37:in `get_setting'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:70:in `set_value'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:89:in `block in merge'", "org/jruby/RubyHash.java:1343:in `each'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:89:in `merge'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/settings.rb:138:in `validate_all'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/runner.rb:264:in `execute'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/logstash-core/lib/logstash/runner.rb:219:in `run'", "C:/Users/Nada/inada2244/logstash/logstash-6.2.3/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\Users\Nada\inada2244\logstash\logstash-6.2.3\lib\bootstrap\environment.rb:67:in `'"]}
[2018-05-06T15:02:23,280][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit
and this is the second error in filebeat installtion
PS C:\Program Files\Filebeat> runas ./filebeat -e -c filebeat.yml
RUNAS USAGE:
RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user: program
RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:] program
RUNAS /trustlevel: program
/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user should be in form USER@DOMAIN or DOMAIN\USER
/showtrustlevels displays the trust levels that can be used as arguments
to /trustlevel.
/trustlevel should be one of levels enumerated
in /showtrustlevels.
program command line for EXE. See below for examples
Examples:
runas /noprofile /user:mymachine\administrator cmd
runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
runas /env /user:user@domain.microsoft.com "notepad "my file.txt""
NOTE: Enter user's password only when prompted.
NOTE: /profile is not compatible with /netonly.
NOTE: /savecred is not compatible with /smartcard.
PS C:\Program Files\Filebeat> filebeat setup --dashboards
filebeat : The term 'filebeat' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:3
+ CategoryInfo : ObjectNotFound: (filebeat:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I want to load index template manually so when i write its command this error appear
PS C:\Program Files\Filebeat> .\filebeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts
=["localhost:9200"]'
Exiting: error loading config file: yaml: line 136: could not find expected ':'
None of these look like X-Pack issues.
You will be better off posting clear, correctly formatted descriptions of what steps you've taken, and what errors you've seen into the relevant product forums for logstash and beats.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.