Restricting users to only see data that has been captured about themselves

I would like to create a role that restricts users to only seeing data associated with them.

for example, I only want Jenny to see data associated with a field that is user.name = Jenny

Is this possible, as I would ideally like to apply this to 100's of users who can only view data that has been collected about themselves?

Thanks in advance,
Matt

Sounds like you maybe Document Level Security Document level security | Elasticsearch Guide [8.1] | Elastic will let you do what you want. Create a role which has permissions to documents where user.name has the value Jenny and assign Jenny's user to that role.

this worked a treat. Many thanks @mikewillis