Pipeline error {:pipeline_id=>"main", :exception=>#<NoMethodError: undefined method `close' for nil:NilClass>

-f (path.config) should point to the logstash configuration file, not the yml.