Logstash elasticsearch output and IP change


I'm facing a strage case where after changing the IP address of my ElasticSearch server, logstash keep trying to connect to the old IP.

The output configuration is:

output {
    elasticsearch { host => "" }

I changed the IP address in the file, and when restarting logstash, it keeps throwing the following Exceptions, the ip address being the old one:

failed to connect to master [[Agamotto][BsPzqcu8RyyAEHPVinAhzw][myserver][inet[/]]], retrying...

I suspect something related to cluster management, how to tell to logstash to "forget" where it was connected before ?

I see from the messages you have the same IPs (in the config and error message)? Can you do curl and check if ES is up?