Old article about JDBC is outdated


(Soufiane Ghzal) #1

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


(Mark Walkom) #2

Thanks for the feedback!


(system) #3