---
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

- ClusterQueryLogReport
  - `id` integer, required
  - `data_centers` DataCenterQueryLogReport[], required
    - `id` integer, required
    - `nodes` NodeQueryLogReport[], required
      - `id` integer, required
      - `queries` QueryLog[], required
        - `connection` string
        - `received_timestamp` unknown
        - `primed` boolean — Whether or not the query had a matching prime
        - `frame` object — The full native protocol frame, contents depend on the message type.

## 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/0a5cd5c466d5/schema)
