I need to mask some confidential data in Kibana. Consider that userId needs to be masked in Kibana visualizations.
I want the userIds to be displayed as user1, user2, user3 etc in the visualizations.
There need not be any mapping between the real userId and masked userId.
I currently see multiple possible solutions for that.
a) you could just disable the labels on the x-axis for this chart. That way it will just show the bars without any label.
b) you could create a custom "anonymizing" field formatter, that will take a string as an input and outputs instead just a short replacement name. You can have a log at this blogpost for more information.
c) Use a scripted field on the index, that uses the value from the users field, and instead will output some random hash for it.
when I went through the blog, I could see you saying, "In the future, we (the Kibana team) will be working on providing this functionality as a plugin, which will help simplify the registration proces" . Is this plugin there in the current version of Kibana?
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.