---
title: "Get S3 log storage statistics"
method: GET
path: "/api/v1/k8s/logs/s3/stats"
tags: ["K8s Logs - S3"]
---

# Get S3 log storage statistics

`GET /api/v1/k8s/logs/s3/stats`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/k8s/logs/s3/stats`
- Auth: none declared

Get statistics about S3-stored K8s logs

## Response `200`

OK

- K8sLogsLogMetadataStats
  - `by_cluster` object
  - `collected_at` string
  - `files_today` integer
  - `lines_today` integer
  - `total_compressed_gb` number
  - `total_files` integer
  - `total_lines` integer
  - `total_uncompressed_gb` number

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
