# Is the data stored by Lucene in file system readable/is plain text or is encrypted/unreadable?

**URL:** <https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257>\
**Category:** Elasticsearch\
**Created:** [June 25, 2018, 1:03pm UTC](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257 "2018-06-25T13:03:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priyanka_sharma/32/32651_2.png) [@Priyanka\_Sharma](https://discuss.elastic.co/u/Priyanka_Sharma)\
**Post date:** [June 25, 2018, 1:03pm UTC](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257/1 "2018-06-25T13:03:52Z")

</div>

I need to store some sensitive data in elasticsearch.  
Since data is actually stored by Lucene in file-system, is it in plain text/Json format that is readable if i access the file system directly or is it encrypted/garbled to make it unreadable?

---

<div class="post-metadata">

**Author:** ![nhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhat/32/22170_2.png) [@nhat](https://discuss.elastic.co/u/nhat)\
**Post date:** [June 25, 2018, 1:38pm UTC](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257/2 "2018-06-25T13:38:44Z")

</div>

You can find the Lucene index files format at [https://lucene.apache.org/core/7\_1\_0/core/org/apache/lucene/codecs/lucene70/package-summary.html](https://lucene.apache.org/core/7_1_0/core/org/apache/lucene/codecs/lucene70/package-summary.html)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 25, 2018, 1:42pm UTC](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257/3 "2018-06-25T13:42:28Z")

</div>

It's readable.  
You might use dm-crypt if you want to encrypt your FS.

---

<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:** [July 23, 2018, 1:42pm UTC](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257/4 "2018-07-23T13:42:42Z")

</div>

Closed on July 23, 2018, 1:42pm UTC

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