Logstash elasticsearch output and IP change

Hi,

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 => "192.168.10.4" }
}

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[/192.168.10.4:9300]]], 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 192.168.10.4:9200 and check if ES is up?