Logstash 2.3.1, my logstash.conf throwing error as i try to connect to remote nagios core which uses nagios output pluting

below is my logstash.conf file along with error I am receiving from the logs once logstash is bounced to pick up the new config file. Can some one provide or give some logstash conf example real world code using Nagios plugin from logstash release 2.3.1. Thank you.

input {

file {

    path => "/opt/app/logstash/apache-test.log"

    start_position

=> "beginning"

}

}

output {

nagios {

   nagios_host =>

"zltvxxxx.vci.xxx.com"

   nagios_service =>

"LOGSTASH-POC-TEST"

}

#elasticsearch { }

stdout { codec => rubydebug }

}

timestamp=>"2016-05-06T12:41:32.041000-0700",
:message=>"Unknown setting 'nagios_host' for nagios",
:level=>:error}

{:timestamp=>"2016-05-06T12:41:32.043000-0700",
:message=>"Unknown setting 'nagios_service' for nagios",
:level=>:error}

{:timestamp=>"2016-05-06T12:41:32.047000-0700",
:message=>"Pipeline aborted due to error",
:exception=>#<LogStash::ConfigurationError: Something is wrong with your
configuration.>, :backtrace=>["/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/config/mixin.rb:134:in
config_init'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/outputs/base.rb:63:ininitialize'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/output_delegator.rb:74:in
register'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:181:instart_workers'", "org/jruby/RubyArray.java:1613:in each'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:181:instart_workers'",
"/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:136:in
run'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/agent.rb:465:instart_pipeline'"], :level=>:error}

{:timestamp=>"2016-05-06T12:41:35.049000-0700",
:message=>"stopping pipeline", :id=>"main"}

As defined in nagios plugin doc, https://www.elastic.co/guide/en/logstash/current/plugins-outputs-nagios.html, "nagios_host" and "nagios_service" are not valid plugin options, but must be defined as fields in each event.