# How to move Data and Logs to new directory?

**URL:** <https://discuss.elastic.co/t/how-to-move-data-and-logs-to-new-directory/28382>\
**Category:** Elasticsearch\
**Created:** [August 31, 2015, 7:40pm UTC](https://discuss.elastic.co/t/how-to-move-data-and-logs-to-new-directory/28382 "2015-08-31T19:40:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 31, 2015, 9:12pm UTC](https://discuss.elastic.co/t/how-to-move-data-and-logs-to-new-directory/28382/2 "2015-08-31T21:12:27Z")

</div>

You can set that in `elasticsearch.yml` using these - [https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-dir-layout.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-dir-layout.html)

---

_[View the full topic](https://discuss.elastic.co/t/how-to-move-data-and-logs-to-new-directory/28382)._
