---
title: "Get full log content from S3"
method: GET
path: "/api/v1/k8s/logs/s3/content"
tags: ["K8s Logs - S3"]
---

# Get full log content from S3

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

## Request

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

Download and return full log content from S3 for a specific log file

## Query parameters

- `s3_key` string, required

## Response `200`

OK

- K8sLogsLogBatch
  - `app_name` string
  - `cluster_id` string
  - `collection_time` string
  - `container_name` string
  - `labels` object
  - `logs` K8sLogsLogLine[]
    - `labels` object
    - `line_number` integer
    - `log_level` string
    - `message` string
    - `parsed` object
    - `timestamp` string
  - `namespace` string
  - `pod_name` string

---

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