# How to encrypt Elasticsearch data path

**URL:** https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562
**Category:** Elasticsearch
**Created:** [January 5, 2023, 3:13pm UTC](https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562 "2023-01-05T15:13:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Naga\_Prudhvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naga_prudhvi/32/99501_2.png) [@Naga\_Prudhvi](https://discuss.elastic.co/u/Naga_Prudhvi)
#### Post date: [January 5, 2023, 3:13pm UTC](https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562/1 "2023-01-05T15:13:47Z")

</div>

I want to perform dm-crypt encryption at rest for all data path for Elasticsearch but it should be searchable if I try to access data from hadoop/spark/kibana.

Any ideas on this would be very appreciated.

---

<div class="post-metadata">

### Author: ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)
#### Post date: [January 6, 2023, 3:03am UTC](https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562/2 "2023-01-06T03:03:41Z")

</div>

Are u looking for full disk encryption or encryption I'm the file system itself? Full disk shouldn't be an issue since when done properly it's transparent to the OS and the apps on top. If ur looking for Elasticsearch to store the indexed data I'm a encrypted format so that if someone gains access to the OS they can't pilfer data, I don't think elastic has that feature or at least I've never seen or heard of it.

---

<div class="post-metadata">

### Author: ![Naga\_Prudhvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naga_prudhvi/32/99501_2.png) [@Naga\_Prudhvi](https://discuss.elastic.co/u/Naga_Prudhvi)
#### Post date: [January 8, 2023, 5:26am UTC](https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562/3 "2023-01-08T05:26:40Z")

</div>

Full disk encryption, any leads to achive this menthod or any ideas are much appreciated

---

<div class="post-metadata">

### Author: ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)
#### Post date: [January 8, 2023, 6:21am UTC](https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562/4 "2023-01-08T06:21:55Z")

</div>

Bitlocker on windows and LUKS on Linux.

---

<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: [February 5, 2023, 6:22am UTC](https://discuss.elastic.co/t/how-to-encrypt-elasticsearch-data-path/322562/5 "2023-02-05T06:22:34Z")

</div>

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