Oh Logstash 2.4 this Syntax works "--configtest" , Gives me a thumbs up "OK" but when I run it it but when I run it I get the following. ..... ALSO If I comment out/remote either entry it works fine.
Settings: Default pipeline workers: 2 Pipeline aborted due to error {:exception=>"LogStash::ConfigurationError", :backtrace=>["/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-2.0.6/lib/logstash/inputs/http_poller.rb:119:in `validate_request!'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-2.0.6/lib/logstash/inputs/http_poller.rb:111:in `normalize_request'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-2.0.6/lib/logstash/inputs/http_poller.rb:88:in `setup_requests!'", "org/jruby/RubyHash.java:1342:in `each'", "org/jruby/RubyEnumerable.java:757:in `map'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-2.0.6/lib/logstash/inputs/http_poller.rb:88:in `setup_requests!'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-2.0.6/lib/logstash/inputs/http_poller.rb:79:in `register'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:330:in `start_inputs'", "org/jruby/RubyArray.java:1613:in `each'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:329:in `start_inputs'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:180:in `start_workers'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:136:in `run'", "/home/eperry/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/agent.rb:491:in `start_pipeline'"], :level=>:error}
input{ http_poller { urls => { "SearchTest" => { url => "https://SOMEURL/XXXXXXXXXXXXXXXXXXXXXXX" method => "GET" headers => { "Accept" => "application/json" "X-Query-Key" => "BLAH" } } "Test2" => { url => "htps://SOMEOTHERURL/YYYYYYYYYYYYYYYYYYYY" method => "GET" headers => { "Accept" => "application/json" "X-Query-Key" => "BLAHBLAH" } } } request_timeout => 300 interval => 86400 codec => "json" metadata_target => "http_poller_metadata" ssl_certificate_validation => false type => "newrelic-query" add_field => { "dst_index"=> "o5a" } } }