---
title: "PodLogs returns stream of log entries for the specified pod. Pod"
method: GET
path: "/api/v1/applications/{name}/pods/{podName}/logs"
tags: ["ApplicationService"]
---

# PodLogs returns stream of log entries for the specified pod. Pod

`GET /api/v1/applications/{name}/pods/{podName}/logs`

## Path parameters

- `name` string, required
- `podName` string, required

## Query parameters

- `namespace` string
- `container` string
- `sinceSeconds` string, int64
- `sinceTime.seconds` string, int64
- `sinceTime.nanos` integer
- `tailLines` string, int64
- `follow` boolean

## Response `200`

(streaming responses)

- ApplicationLogEntry
  - `content` string
  - `timeStamp` V1Time — Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false
    - `nanos` integer — Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
    - `seconds` string, int64 — Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

---

[API](https://skmtc.net/devtron-labs/apis/consolidate-services.md) · [All operations](https://skmtc.net/devtron-labs/apis/consolidate-services/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devtron-labs/consolidate-services/revisions/778bfc291d1e/schema)
