# Author: Austin Taylor
# Email: email@austintaylor.io
# Last Update: 05/21/2017
# Creates logstash-nessus 

output {
   if "nessus" in [tags]  or [type] == "nessus" {
    #stdout { codec => rubydebug }
    elasticsearch {
      hosts => "localhost:9200"
      index => "logstash-nessus-%{+YYYY.MM}"
    }
  }
}
