# Encryption of saved logs

**URL:** <https://discuss.elastic.co/t/encryption-of-saved-logs/347612>\
**Category:** Elastic Security\
**Created:** [November 21, 2023, 9:47am UTC](https://discuss.elastic.co/t/encryption-of-saved-logs/347612 "2023-11-21T09:47:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [November 22, 2023, 10:26am UTC](https://discuss.elastic.co/t/encryption-of-saved-logs/347612/4 "2023-11-22T10:26:12Z")

</div>

Thanks for confirming @Hamada. I'm not sure if you're using the free basic install versus an enterprise licence.

There is some guidance in the enterprise documentation [here](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-securing-considerations.html#ece_encryption), but generally the approach is the same for basic on-prem installs.

But generally logs should be encrypted before storing, using a tool such as `dm-crypt`. This would impact searching on the fields to which encryption is applied.

I would recommend having a look at these threads for more information:

1. [How can I encrypt the data stored in indexes? - #2 by leandrojmp](https://discuss.elastic.co/t/how-can-i-encrypt-the-data-stored-in-indexes/315691/2)
2. [How should I encrypt data at rest with Elasticsearch?](https://discuss.elastic.co/t/how-should-i-encrypt-data-at-rest-with-elasticsearch/96)

Hope that helps!

---

_[View the full topic](https://discuss.elastic.co/t/encryption-of-saved-logs/347612)._
