Is It necessary to restart logstash after modifying a dictionary_path file?

I used the following translate filter in logstash

translate {
field => "countries"
destination => "cities"
dictionary_path => "/home/rrr/cities.yml"
}

And I started logstash this way

/usr/share/logstash/bin/logstash -f $directory --path.settings=/etc/logstash -t

Everything went well and good.

My question is :

Would logstash will take into account any modification that I may do in the dictionary_path file ?
I means do I need to restart logstash after any edition on this file or not ?

Would logstash will take into account any modification that I may do in the dictionary_path file ?

Yes, see the refresh_interval configuration option.

1 Like

Well this is exactly what I was looking for ! Thank you !

#RTFM

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.