# Is It necessary to restart logstash after modifying a dictionary\_path file?

**URL:** <https://discuss.elastic.co/t/is-it-necessary-to-restart-logstash-after-modifying-a-dictionary-path-file/105537>\
**Category:** Logstash\
**Created:** [October 27, 2017, 8:22am UTC](https://discuss.elastic.co/t/is-it-necessary-to-restart-logstash-after-modifying-a-dictionary-path-file/105537 "2017-10-27T08:22:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fopa\_Leon\_Constantin](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@Fopa\_Leon\_Constantin](https://discuss.elastic.co/u/Fopa_Leon_Constantin)\
**Post date:** [October 27, 2017, 8:22am UTC](https://discuss.elastic.co/t/is-it-necessary-to-restart-logstash-after-modifying-a-dictionary-path-file/105537/1 "2017-10-27T08:22:16Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 27, 2017, 8:46am UTC](https://discuss.elastic.co/t/is-it-necessary-to-restart-logstash-after-modifying-a-dictionary-path-file/105537/2 "2017-10-27T08:46:45Z")

</div>

> Would logstash will take into account any modification that I may do in the dictionary\_path file ?

Yes, see the `refresh_interval` configuration option.

---

<div class="post-metadata">

**Author:** ![Fopa\_Leon\_Constantin](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@Fopa\_Leon\_Constantin](https://discuss.elastic.co/u/Fopa_Leon_Constantin)\
**Post date:** [October 27, 2017, 8:59am UTC](https://discuss.elastic.co/t/is-it-necessary-to-restart-logstash-after-modifying-a-dictionary-path-file/105537/3 "2017-10-27T08:59:25Z")

</div>

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

#RTFM

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 24, 2017, 8:59am UTC](https://discuss.elastic.co/t/is-it-necessary-to-restart-logstash-after-modifying-a-dictionary-path-file/105537/4 "2017-11-24T08:59:27Z")

</div>

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