List of Requests Sent To Elasticsearch Cluster

Is there a way to get a list of search requests and indexing requests currently being sent to the Elasticsearch Cluster?

It would be nice to see the following info:

  1. Request Type (Search, indexing, etc..)
  2. Timestamp of Request
  3. Request (ie. query term, indexing msg, ES API calls, etc...)
  4. Response Time
  5. Source / Origin of the request (ex: URL, userid (if available), hostname, port, etc)

The most reliable way to do it is by enabling audit logs. It also possible (kind of) to achieve this by using indexing and searching slow logs and setting threshold to 0.

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