# Modify core storage of Elastic search

**URL:** <https://discuss.elastic.co/t/modify-core-storage-of-elastic-search/168274>\
**Category:** Elasticsearch\
**Created:** [February 13, 2019, 6:28pm UTC](https://discuss.elastic.co/t/modify-core-storage-of-elastic-search/168274 "2019-02-13T18:28:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![akshay\_shetye](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@akshay\_shetye](https://discuss.elastic.co/u/akshay_shetye)\
**Post date:** [February 13, 2019, 8:47pm UTC](https://discuss.elastic.co/t/modify-core-storage-of-elastic-search/168274/3 "2019-02-13T20:47:17Z")

</div>

I want to encrypt data the Elastic search stores. So basically i want to encrypt using different keys per index. If i use S3 as file system then i can use S3s encryption at rest support.

Coming back to my main question:  
Can you point me out to the code where ES writes to filesystem?

---

_[View the full topic](https://discuss.elastic.co/t/modify-core-storage-of-elastic-search/168274)._
