The consistent anonymization feature in Philter ensures that filtered values are anonymized consistently across documents or contexts. When Philter is deployed in a cluster and is using consistent anonymization across contexts, a Redis cache is required. The cache stores the anonymized values so that all instances of Philter have access to the values.
To enable consistent anonymization in Philter set the following property in Philter's configuration:
To enable Philter to use the Redis cache, set the following options in Philter's configuration:
127.0.0.1 with the IP address or host name of your Redis cache.
If you are using Redis on AWS ElastiCache see ElastiCache for Redis In-Transit Encryption (TLS) for information on using in-transit encryption.
After starting (or restarting) Philter, Philter will use the Redis cache for consistent anonymization across contexts. You can restart Philter with the command:
sudo systemctl restart philter