I tried with changing , it is still giving same issues.
I created another conf file and try to run in the verbose mode, it is giving below error. could not chalk out what is the error. I checked the sincedb_path, it I giving 0 0 0 0, Not sure what is that means.
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Dillip>cd C:\Dillip\Software\logstash-2.4.0\logstash-2.4.0\bin
C:\Dillip\Software\logstash-2.4.0\logstash-2.4.0\bin>logstash --verbose -f flogg
ing.conf
←[32mstarting agent {:level=>:info}←[0m
←[32mstarting pipeline {:id=>"main", :level=>:info}←[0m
Settings: Default pipeline workers: 4
←[32mRegistering file input {:path=>["C:\Dillip\Logging\flogs_1.csv"], :level
=>:info}←[0m
←[32mNo sincedb_path set, generating one based on the file path {:sincedb_path=>
"C:\Users\Dillip/.sincedb_2de42b473b475dd04f233804a0c2dc3e", :path=>["C:\Dill
ip\Logging\flogs_1.csv"], :level=>:info}←[0m
←[31mPipeline aborted due to error {:exception=>"LogStash::ConfigurationError",
:backtrace=>["C:/Dillip/Software/logstash-2.4.0/logstash-2.4.0/vendor/bundle/jru
by/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:88:in config_ init'", "org/jruby/RubyHash.java:1342:in
each'", "C:/Dillip/Software/logstash-2
.4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/lo
gstash/config/mixin.rb:72:in config_init'", "C:/Dillip/Software/logstash-2.4.0/ logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstas h/outputs/base.rb:79:in
initialize'", "C:/Dillip/Software/logstash-2.4.0/logsta
sh-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/outp
ut_delegator.rb:74:in register'", "C:/Dillip/Software/logstash-2.4.0/logstash-2 .4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline .rb:181:in
start_workers'", "org/jruby/RubyArray.java:1613:in each'", "C:/Dill ip/Software/logstash-2.4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash- core-2.4.0-java/lib/logstash/pipeline.rb:181:in
start_workers'", "C:/Dillip/Sof
tware/logstash-2.4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2
.4.0-java/lib/logstash/pipeline.rb:136:in run'", "C:/Dillip/Software/logstash-2 .4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/lo gstash/agent.rb:491:in
start_pipeline'"], :level=>:error}←[0m
stopping pipeline {:id=>"main"}
←[32mClosing inputs {:level=>:info}←[0m
←[32mClosed inputs {:level=>:info}←[0m
The signal HUP is in use by the JVM and will not work correctly on this platform
C:\Dillip\Software\logstash-2.4.0\logstash-2.4.0\bin>
I am attaching my Conf file for this above error.
input{
file {
path => "C:\Dillip\Logging\flogs_1.csv"
type => "flogs"
start_position => "beginning"
}
}
filter{
if[path]=~"flogs" {
csv{
columns => ["RepositoryName","StatementType","CIN","Date"]
separator => ","
}
}
}
output{
if[type]=~"flogs"{
elasticsearch {
host => "localhost:9200"
action => "create"
index => "flogs"
}
}
stdout{codec=>rubydebug}
}
Could you pls look at the log file and help me where is the error..