{
  "id": "logs",
  "title": "Logs requests",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/rest-api/requests/logs/",
  "summary": "Cluster event logs requests",
  "content": "\n| Method | Path | Description |\n|--------|------|-------------|\n| [GET](#get-logs) | `/v1/logs` | Get cluster events log |\n\n## Get cluster events log {#get-logs}\n\n\tGET /v1/logs\n\nGet cluster events log.\n\n#### Required permissions\n\n| Permission name |\n|-----------------|\n| [view_logged_events]() |\n\n### Request {#get-request} \n\n#### Example HTTP request\n\n\tGET /v1/logs?order=desc \n\n\n#### Request headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Accept | application/json | Accepted media type |\n\n\n#### Query parameters\n\n| Field | Type | Description |\n|-------|------|-------------|\n| stime | ISO_8601 | Start time before which we don't want events. (optional) |\n| etime | ISO_8601 | End time after which we don't want events. (optional) |\n| order | string | desc/asc - get events in descending or ascending order. Defaults to asc. |\n| limit | integer | Maximum number of events to return. (optional) |\n| offset | integer | Skip offset events before returning first one (useful for pagination). (optional) |\n\n### Response {#get-response} \n\nReturns a JSON array of events.\n\n#### Example JSON body\n\n```json\n[\n  {\n    \"time\": \"2014-08-29T11:19:49Z\",\n    \"type\": \"bdb_name_updated\",\n    \"severity\": \"INFO\",\n    \"bdb_uid\": \"1\",\n    \"old_val\": \"test\",\n    \"new_val\": \"test123\"\n  },\n  {\n    \"time\": \"2014-08-29T11:18:48Z\",\n    \"type\": \"cluster_bdb_created\",\n    \"severity\": \"INFO\",\n    \"bdb_uid\": \"1\",\n    \"bdb_name\": \"test\"\n  },\n  {\n    \"time\": \"2014-08-29T11:17:49Z\",\n    \"type\": \"cluster_node_joined\",\n    \"severity\": \"INFO\",\n    \"node_uid\": 2\n  }\n]\n```\n\n#### Event object\n\n| Field | Description |\n|-------|-------------|\n| time | Timestamp when event happened. |\n| type | Event type. Additional fields may be available for certain event types. |\n| additional fields | Additional fields may be present based on event type.|\n\n### Status codes {#get-status-codes} \n\n| Code | Description |\n|------|-------------|\n| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | No error |\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "children": []
}

