# Use logged in users metadata username value in visualisations?

**URL:** <https://discuss.elastic.co/t/use-logged-in-users-metadata-username-value-in-visualisations/285831>\
**Category:** Kibana\
**Created:** [October 4, 2021, 2:44pm UTC](https://discuss.elastic.co/t/use-logged-in-users-metadata-username-value-in-visualisations/285831 "2021-10-04T14:44:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam3546](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam3546/32/79281_2.png) [@sam3546](https://discuss.elastic.co/u/sam3546)\
**Post date:** [October 4, 2021, 2:44pm UTC](https://discuss.elastic.co/t/use-logged-in-users-metadata-username-value-in-visualisations/285831/1 "2021-10-04T14:44:34Z")

</div>

As part of a visualisation i want to show a visualisation that is the number of entries with a specific fields value that is the same as the username of the logged in user to doc that have a different value.

Is it possible to access the \_authenticated user metadata.username field and use it in a kibana visualisation?

Cheers

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [October 18, 2021, 10:12am UTC](https://discuss.elastic.co/t/use-logged-in-users-metadata-username-value-in-visualisations/285831/2 "2021-10-18T10:12:38Z")

</div>

Hi @sam3546 ,

Unfortunately I'm not aware of any functionality that would allow to achieve that.

Best,  
Oleg

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 15, 2021, 10:13am UTC](https://discuss.elastic.co/t/use-logged-in-users-metadata-username-value-in-visualisations/285831/3 "2021-11-15T10:13:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
