I am new to ES so I am not too sure how accurate is my question. I have a SAN with many terabytes of data. All users have their own home directory or share directory on that. I am looking for a solution to, when someone left them company, I can easily find all the files belong to him and report that to his manager in order to reassign to somebody else. Right now I am doing that by find command like:
find / -user $USERNAME > /root/userfiles.txt
But it is so time and resource consuming.
I am thinking to a solution to index all files' metadata (like: owner) and store them into a database and when I need I just search through that list by writing a query.
I think might be ES can help me in this way, so my question is, ES is a good solution for my problem at all or if not do you have any suggestion?