# Is it possible to log authentication attempts for Kibana?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-log-authentication-attempts-for-kibana/209087>\
**Category:** Kibana\
**Created:** [November 22, 2019, 4:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-log-authentication-attempts-for-kibana/209087 "2019-11-22T16:01:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krlwbstr](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@krlwbstr](https://discuss.elastic.co/u/krlwbstr)\
**Post date:** [November 22, 2019, 4:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-log-authentication-attempts-for-kibana/209087/1 "2019-11-22T16:01:28Z")

</div>

Hi!

I'm new to ELK and have successfully enabled authentication in Kibana. I've also enabled logging to logfile. Is it possible to configure attempts to Kibana to the logfile.

i.e.:  
Timestamp, username, login status [success / fail]

All of my google results are now purple. Any tips appreciated 🙂

Cheers,  
Karl

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 22, 2019, 6:37pm UTC](https://discuss.elastic.co/t/is-it-possible-to-log-authentication-attempts-for-kibana/209087/2 "2019-11-22T18:37:01Z")

</div>

Hey @krlwbstrm, we don't currently log authentication attempts themselves. Kibana has an [audit log](https://www.elastic.co/guide/en/kibana/current/xpack-security-audit-logging.html) but it's only logging saved-object authorization related events at the moment.

All authentication in Kibana defers to Elasticsearch, so you can use their [audit log](https://www.elastic.co/guide/en/elasticsearch/reference/current/auditing-settings.html) to view all authentication attempts whether they're directly via Elasticsearch or through Kibana.

---

<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:** [December 20, 2019, 6:37pm UTC](https://discuss.elastic.co/t/is-it-possible-to-log-authentication-attempts-for-kibana/209087/3 "2019-12-20T18:37:02Z")

</div>

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