I'm trying to load basic configuration file into logstash but logstash doesn't seem to load the files and it's showing error as
Sending Logstash logs to D:/elk/logstash-6.4.1/logs which is now configured via log4j2.properties
[2018-09-20T19:38:54,963][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2018-09-20T19:38:57,878][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"6.4.1"}
[2018-09-20T19:39:07,806][ERROR][logstash.inputs.file ] Unknown setting 'position_start' for file
[2018-09-20T19:39:08,377][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Something is wrong with your configuration.", :backtrace=>["D:/elk/logstash-6.4.1/logstash-core/lib/logstash/config/mixin.rb:86:in config_init'", "D:/elk/logstash-6.4.1/logstash-core/lib/logstash/inputs/base.rb:60:in
initialize'", "org/logstash/plugins/PluginFactoryExt.java:233:in plugin'", "org/logstash/plugins/PluginFactoryExt.java:166:in
plugin'", "D:/elk/logstash-6.4.1/logstash-core/lib/logstash/pipeline.rb:71:in plugin'", "(eval):8:in
'", "org/jruby/RubyKernel.java:994:in eval'", "D:/elk/logstash-6.4.1/logstash-core/lib/logstash/pipeline.rb:49:in
initialize'", "D:/elk/logstash-6.4.1/logstash-core/lib/logstash/pipeline.rb:90:in initialize'", "D:/elk/logstash-6.4.1/logstash-core/lib/logstash/pipeline_action/create.rb:38:in
execute'", "D:/elk/logstash-6.4.1/logstash-core/lib/logstash/agent.rb:309:in `block in converge_state'"]}
[2018-09-20T19:39:09,648][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
I'm currently using Windows 10- 64 bit and JDK 1.8.0_144 and Logstash-6.4.1, Elasticsearch-6.4.1 and Kibana-6.4.1 and my config file is as follows
input{
file{
path => "D:\elk\Logstash-input.log"
position_start => "beginning"
}
}
output{
file{
path => "D:\elk\Logstash-output.log"
}
}
and not only this, even basic command also not executing like
D:\elk\logstash-6.4.1\bin>logstash -e "input{stdin{}} output{stdout()}"
Sending Logstash logs to D:/elk/logstash-6.4.1/logs which is now configured via log4j2.properties
[2018-09-21T12:28:26,506][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
ERROR: Settings 'path.config' (-f) and 'config.string' (-e) can't be used simultaneously.
usage:
bin/logstash -f CONFIG_PATH [-t] [-r] [] [-w COUNT] [-l LOG]
bin/logstash --modules MODULE_NAME [-M "MODULE_NAME.var.PLUGIN_TYPE.PLUGIN_NAME.VARIABLE_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]
bin/logstash -e CONFIG_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]
bin/logstash --help
[2018-09-21T12:28:26,818][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
please help with the same, and thanks in advance