# Logstash Fingerprint for Regulations

**URL:** https://discuss.elastic.co/t/logstash-fingerprint-for-regulations/210675
**Category:** Logstash
**Created:** [December 5, 2019, 10:21am UTC](https://discuss.elastic.co/t/logstash-fingerprint-for-regulations/210675 "2019-12-05T10:21:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anilozyurt](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@anilozyurt](https://discuss.elastic.co/u/anilozyurt)
#### Post date: [December 5, 2019, 10:21am UTC](https://discuss.elastic.co/t/logstash-fingerprint-for-regulations/210675/1 "2019-12-05T10:21:13Z")

</div>

Hi,

We're using ELK stack to centralize logs of our systems and need to encrypt some of these log types(access logs, audit logs etc.). Logstash fingerprint seems suitable for this but we have to check if the log content has changed or not. There are many applications to do this encryption and testing the log file(compare the string message and the encrypted message).

We can encrypt the "message" field and "timestamp" field into 1 "fingerprint" field but we don't know how to check the log message if it has changed which has contents Personal Data with cleartext.

This is "Log Signing" in our Regulations which presented from our government. Could you please provide any information about this?

Thanks.

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [December 5, 2019, 5:40pm UTC](https://discuss.elastic.co/t/logstash-fingerprint-for-regulations/210675/2 "2019-12-05T17:40:56Z")

</div>

I suggest you read some of the elastic blog posts on masking. Start [here](https://www.elastic.co/blog/gdpr-personal-data-pseudonymization-part-1) and follow links 🙂

---

<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: [January 2, 2020, 5:40pm UTC](https://discuss.elastic.co/t/logstash-fingerprint-for-regulations/210675/3 "2020-01-02T17:40:59Z")

</div>

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