Old article about JDBC is outdated

Hi,

New to elasticsearch I was reading this article:

And it seems it is oudated now. I had to replace this

output {
    elasticsearch {
        protocol => http
        index => "contacts"
        document_type => "contact"
        document_id => "%{uid}"
        host => "ES_NODE_HOST"
    }
}

with this:

output {
    elasticsearch {
        index => "contacts"
        document_type => "contact"
        document_id => "%{uid}"
        hosts => ["ES_NODE_HOST"]
    }
}

(removed "protocol" and replaced "host" with "hosts")

Thanks

Thanks for the feedback!