I just installed LogStash 2.4.0 on Windows 7 to try out. But got this HUP error when trying to load data from a CSV file. The CSV file is downloaded from http://data.donorschoose.org/open-data/overview/ (the donation data)
(followed this post http://www.rittmanmead.com/blog/2015/04/using-the-elk-stack-to-analyse-donors-choose-data/)
The config file
input { file { start_position => beginning path => ["c:\dev\ELK\demo\data\opendata_donations.csv"] type =>"csv" } } filter { csv {separator => "," columns => ["_donationid","_projectid","_donor_acctid","_cartid","donor_city","donor_state","donor_zip","is_teacher_acct","donation_timestamp","donation_to_project","donation_optional_support","donation_total","dollar_amount","donation_included_optional_support","payment_method","payment_included_acct_credit","payment_included_campaign_gift_card","payment_included_web_purchased_gift_card","payment_was_promo_matched","via_giving_page","for_honoree","donation_message"] } } output { elasticsearch { hosts => "localhost:9200" index => "opendata" index_type => "donations"} }
The command line and the output:
C:\dev\ELK\demo\logstash\bin>logstash.bat --verbose -f c:\\logstash.conf ←[32mstarting agent {:level=>:info}←[0m ←[32mstarting pipeline {:id=>"main", :level=>:info}←[0m Settings: Default pipeline workers: 8 ←[32mRegistering file input {:path=>["c:\\dev\\ELK\\demo\\data\\opendata_donatio ns.csv"], :level=>:info}←[0m ←[32mNo sincedb_path set, generating one based on the file path {:sincedb_path=> "C:\\Users\\rockdale/.sincedb_42bf1ac4b6f27b058d61df780b7a7e23", :path=>["c:\\dev\\ ELK\\demo\\data\\opendata_donations.csv"], :level=>:info}←[0m ←[31mPipeline aborted due to error {:exception=>"LogStash::ConfigurationError", :backtrace=>["C:/dev/ELK/demo/logstash/vendor/bundle/jruby/1.9/gems/logstash-cor e-2.4.0-java/lib/logstash/config/mixin.rb:88:in `config_init'", "org/jruby/RubyH ash.java:1342:in `each'", "C:/dev/ELK/demo/logstash/vendor/bundle/jruby/1.9/gems /logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:72:in `config_init'", "C: /dev/ELK/demo/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib /logstash/outputs/base.rb:79:in `initialize'", "C:/dev/ELK/demo/logstash/vendor/ bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/output_delegator.rb: 74:in `register'", "C:/dev/ELK/demo/logstash/vendor/bundle/jruby/1.9/gems/logsta sh-core-2.4.0-java/lib/logstash/pipeline.rb:181:in `start_workers'", "org/jruby/ RubyArray.java:1613:in `each'", "C:/dev/ELK/demo/logstash/vendor/bundle/jruby/1. 9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:181:in `start_workers'" , "C:/dev/ELK/demo/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-jav a/lib/logstash/pipeline.rb:136:in `run'", "C:/dev/ELK/demo/logstash/vendor/bundl e/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/agent.rb:491:in `start_pi peline'"], :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
Read some posts with the same error but none of the changes solved the problem. It tells me it is a configuration error but been new to ELK I could not figure out what's wrong with my config file. Can anyone help? What am I missing?
Thanks in advance