---
title: "Get logs with filters"
method: GET
path: "/api/v1/k8s/logs"
tags: ["Logs"]
---

# Get logs with filters

`GET /api/v1/k8s/logs`

## Request

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

Retrieve logs with optional filtering

## Query parameters

- `cluster_id` string
- `namespace` string
- `pod_name` string
- `container_name` string
- `app_name` string
- `log_level` string
- `search_text` string
- `start_time` string
- `end_time` string
- `limit` integer
- `offset` integer

## Response `200`

OK

- object

---

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