{
  "schema_version": 2,
  "id": "operate/rs/references/cli-utilities/rladmin/cluster/stats_archiver",
  "title": "rladmin cluster stats_archiver",
  "url": "https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin/cluster/stats_archiver/",
  "summary": "Enables/deactivates the stats archiver.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2023-12-14T15:27:49+01:00",
  "page_type": "content",
  "content_hash": "1072e23a6feebd80e82ae6e2812056b638f3300c0c511664a1d3348470f09ba5",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Enables or deactivates the stats archiver, which logs statistics in CSV (comma-separated values) format.\n\n[code example]"
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "| Parameter | Description |\n|-----------|-------------|\n| enabled | Turn on the stats archiver |\n| disabled | Turn off the stats archiver |"
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "Returns the updated status of the stats archiver."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "sh",
      "code": "rladmin cluster stats_archiver { enabled | disabled }",
      "section_id": "overview"
    },
    {
      "id": "example-ex0",
      "language": "sh",
      "code": "$ rladmin cluster stats_archiver enabled \nStatus: enabled",
      "section_id": "example"
    }
  ]
}
