# How to get elaticsearch access logs

**URL:** <https://discuss.elastic.co/t/how-to-get-elaticsearch-access-logs/72024>\
**Category:** Elasticsearch\
**Created:** [January 18, 2017, 2:32pm UTC](https://discuss.elastic.co/t/how-to-get-elaticsearch-access-logs/72024 "2017-01-18T14:32:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajraja](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rajraja](https://discuss.elastic.co/u/rajraja)\
**Post date:** [January 18, 2017, 2:32pm UTC](https://discuss.elastic.co/t/how-to-get-elaticsearch-access-logs/72024/1 "2017-01-18T14:32:10Z")

</div>

Hi Team,

I am using elaticsearch 5.1.1 I would like to track my elasticsearch access logs. I tried with Shield but it is not supported for ES 5.X. Please give some suggestions how to get my elasticsearch access logs in my /var/log/elasticsearch/ path.

ES version: 5.1.1  
JDK: 1.8  
OS: Ubuntu 16.04

Regards,  
Raja

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [January 18, 2017, 3:02pm UTC](https://discuss.elastic.co/t/how-to-get-elaticsearch-access-logs/72024/2 "2017-01-18T15:02:30Z")

</div>

Hi,

What you require here is Sheild which is now called Security. This comes with X-Pack.  
The auditing you desire to enable can be found here: [https://www.elastic.co/guide/en/x-pack/current/auditing.html](https://www.elastic.co/guide/en/x-pack/current/auditing.html)

If I misunderstood the query and you actually want to ingest your Elasticsearch logs into Elasticsearch, do confirm.

---

<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 15, 2017, 3:02pm UTC](https://discuss.elastic.co/t/how-to-get-elaticsearch-access-logs/72024/3 "2017-02-15T15:02:40Z")

</div>

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