# How to know user who log into Kibana

**URL:** <https://discuss.elastic.co/t/how-to-know-user-who-log-into-kibana/294568>\
**Category:** Kibana\
**Created:** [January 17, 2022, 10:52am UTC](https://discuss.elastic.co/t/how-to-know-user-who-log-into-kibana/294568 "2022-01-17T10:52:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![harith](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@harith](https://discuss.elastic.co/u/harith)\
**Post date:** [January 17, 2022, 10:52am UTC](https://discuss.elastic.co/t/how-to-know-user-who-log-into-kibana/294568/1 "2022-01-17T10:52:51Z")

</div>

Hi guys,  
I'm new here. Sorry if I'm in wrong category.

My question: How can I know user who log into my Kibana?  
Kibana: Free version 7.4.0  
Elasticsearch: Free version 7.4.0

What I've already done:

1. I set \<xpack.security.audit.enabled/\> to true in Kibana.yml, but nothing happened.
2. Then, I add  
\<xpack.security.audit.appender.type: rolling-file\> and \<xpack.security.audit.appender.fileName: /var/log/auditfile.log\> in Kibana yml, my Kibana service unable to start.
3. I disabled #2 in Kibana.yml
4. I enabled #1 and #2 in Elasticsearch.yml, but my Elasticsearch service unable to start.

So, what exactly should I do to get user login audit? or I cannot get it in free version?  
Appreciate your help.

Thank you

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [January 21, 2022, 10:35pm UTC](https://discuss.elastic.co/t/how-to-know-user-who-log-into-kibana/294568/2 "2022-01-21T22:35:30Z")

</div>

I suppose audit logging is a feature for some subscription license.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 21, 2022, 11:37pm UTC](https://discuss.elastic.co/t/how-to-know-user-who-log-into-kibana/294568/3 "2022-01-21T23:37:17Z")

</div>

Audit logging is not available in the basic (free) license.

To see what is available in each license, check the [subscriptions page](https://www.elastic.co/subscriptions).

One alternative would be to put your Kibana or Elasticsearch behind a proxy and consume the proxy logs.

---

<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:** [February 18, 2022, 11:38pm UTC](https://discuss.elastic.co/t/how-to-know-user-who-log-into-kibana/294568/4 "2022-02-18T23:38:08Z")

</div>

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