I am new into Logstash/elasticsearch/kibana
I have created the following logstash config in windows
input {
file {
path => "C:\Users\aperez.SEAPUB\Downloads\logstash-6.0.1\data\avrs_syslog"
start_position => "beginning"
sincedb_path => "NUL"]
}
}
filter {
csv {
separator => ";"
columns => [ "type", "routing" , "sysid", "date", "time" , "jobid" ,
"uexit" , "msgid", "msgtxt" ]
}
}
output {
elasticsearch {
hosts => "http://localhost:5601"
index => "zosindex"
document_type => "mylogs"
}
}
and when I executed via logstah I get the attached errors that I cannot decipher
Any helo would be greatly appreciated
Regards
Alfredo
C:\Users\aperez.SEAPUB\Downloads\logstash-6.0.1\bin>logstash -f C:\Users\aperez.
SEAPUB\Downloads\logstash-6.0.1\data\logstash.config2
Sending Logstash's logs to C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logs
which is now configured via log4j2.properties
[2017-12-12T18:03:46,383][INFO ][logstash.modules.scaffold] Initializing module
{:module_name=>"fb_apache", :directory=>"C:/Users/aperez.SEAPUB/Downloads/logsta
sh-6.0.1/modules/fb_apache/configuration"}
[2017-12-12T18:03:46,411][INFO ][logstash.modules.scaffold] Initializing module
{:module_name=>"netflow", :directory=>"C:/Users/aperez.SEAPUB/Downloads/logstash
-6.0.1/modules/netflow/configuration"}
[2017-12-12T18:03:46,496][WARN ][logstash.config.source.multilocal] Ignoring the
'pipelines.yml' file because modules or command line options are specified
[2017-12-12T18:03:46,939][ERROR][logstash.agent ] Failed to execute ac
tion {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"L
ogStash::ConfigurationError", :message=>"Expected one of #, {, } at line 5, colu
mn 23 (byte 150) after input {\n file {\n path => "C:\Users\aperez.SEAPUB
\Downloads\logstash-6.0.1\data\avrs_syslog"\n\tstart_position => "beginnin
g"\n\tsincedb_path => "NUL"", :backtrace=>["C:/Users/aperez.SEAPUB/Downloads/
logstash-6.0.1/logstash-core/lib/logstash/compiler.rb:42:in compile_ast'", "C:/ Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/compiler .rb:50:in
compile_imperative'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.
1/logstash-core/lib/logstash/compiler.rb:54:in compile_graph'", "C:/Users/apere z.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/compiler.rb:12:in
block in compile_sources'", "org/jruby/RubyArray.java:2486:in map'", "C:/Users/ aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/compiler.rb:11 :in
compile_sources'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logstas
h-core/lib/logstash/pipeline.rb:107:in compile_lir'", "C:/Users/aperez.SEAPUB/D ownloads/logstash-6.0.1/logstash-core/lib/logstash/pipeline.rb:49:in
initialize
'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/
pipeline.rb:215:in initialize'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0 .1/logstash-core/lib/logstash/pipeline_action/create.rb:35:in
execute'", "C:/Us
ers/aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/agent.rb:3
35:in block in converge_state'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0 .1/logstash-core/lib/logstash/agent.rb:141:in
with_pipelines'", "C:/Users/apere
z.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/agent.rb:332:in bl ock in converge_state'", "org/jruby/RubyArray.java:1734:in
each'", "C:/Users/ap
erez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/agent.rb:319:in
converge_state'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-cor e/lib/logstash/agent.rb:166:in
block in converge_state_and_update'", "C:/Users/
aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/agent.rb:141:i
n with_pipelines'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-c ore/lib/logstash/agent.rb:164:in
converge_state_and_update'", "C:/Users/aperez.
SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstash/agent.rb:90:in execu te'", "C:/Users/aperez.SEAPUB/Downloads/logstash-6.0.1/logstash-core/lib/logstas h/runner.rb:362:in
block in execute'", "C:/Users/aperez.SEAPUB/Downloads/logsta
sh-6.0.1/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:in `bloc
k in initialize'"]}