# Monitoring API query

**URL:** https://discuss.elastic.co/t/monitoring-api-query/277200
**Category:** Elasticsearch
**Created:** [June 28, 2021, 10:21am UTC](https://discuss.elastic.co/t/monitoring-api-query/277200 "2021-06-28T10:21:51Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 1, 2021, 2:09am UTC](https://discuss.elastic.co/t/monitoring-api-query/277200/2 "2021-07-01T02:09:24Z")

</div>

There is [audit logging](https://www.elastic.co/guide/en/elasticsearch/reference/current/enable-audit-logging.html) in Gold and above subscriptions.

Otherwise you can tweak the slowlogs to record everything and then parse that, or use Packetbeat to track traffic on 9200, but that's DIY.

---

_[View the full topic](https://discuss.elastic.co/t/monitoring-api-query/277200)._
