Imagine the next, I have an application which writes the logs. Each log is simple JSON object with the depth of N. Developers don't think about the values they put it the logs, we can find password, IBAN, SSN fields there on any of levels.
All the logs are put to the Redis queue, then logstash reads from Redis and puts them to the ES.
Is there any option right now, where I can configure logstash in the way, that it will parse the JSON object, iterate over it and will obscure the value of the "sensitive" field (meaning change 5 symbols to *, for example)?
I have tried to search something in this direction, but without any success right now.
I haven't understood if this plugin checks only the first level of the log message for the fields with the given name, or it does it recursively?
As I understand, this plugin would replace the content of the field to the hash. Which is ok and is a solution, however, it's different from obscure method.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.