# Updated by: Doug Burks # Last Update: 5/16/2017 filter { if "import" in [tags] and "test_data" not in [tags] { mutate { ##add_tag => [ "conf_file_9002"] } } } output { if "import" in [tags] and "test_data" not in [tags] { # stdout { codec => rubydebug } elasticsearch { hosts => elasticsearch index => "logstash-import-%{+YYYY.MM.dd}" template_name => "logstash-*" template => "/logstash-template.json" template_overwrite => true } } }