---
title: "Return all queries executed by clients on a cluster."
method: GET
path: "/log/{clusterId}"
tags: ["log"]
---

# Return all queries executed by clients on a cluster.

`GET /log/{clusterId}`

## Path parameters

- `clusterId` string, required

## Query parameters

- `filter` string

## Response `200`

Queries executed

- QueryLog[]
  - `datacenter_id` integer
  - `node_id` integer
  - `query` string
  - `consistency_level` string
  - `serial_consistency_level` string
  - `connection` string
  - `timestamp` unknown

## Other responses

- `404` — Cluster not found

## Changes

- **2017-06-08** `f9c59ff72383` — 1 info
  - added the new optional `query` request parameter `filter`
- **2017-05-24** `b44a52cda8ed` — 1 info
  - endpoint added
- **2017-04-21** `ce1bef505fa2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/datastax/apis/simulacron-rest-api/changes/log/:clusterId/get.md)

---

[API](https://skmtc.dev/datastax/apis/simulacron-rest-api.md) · [All operations](https://skmtc.dev/datastax/apis/simulacron-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datastax/simulacron-rest-api/revisions/fb9ff336c556/schema)
