---
title: "GET /#Action=DownloadDBLogFilePortion"
method: GET
path: "/#Action=DownloadDBLogFilePortion"
---

# GET /#Action=DownloadDBLogFilePortion

`GET /#Action=DownloadDBLogFilePortion`

Downloads all or a portion of the specified log file, up to 1 MB in size.

This command doesn't apply to RDS Custom.

## Query parameters

- `DBInstanceIdentifier` string, required
- `LogFileName` string, required
- `Marker` string
- `NumberOfLines` integer
- `Action` 'DownloadDBLogFilePortion', required
- `Version` '2014-10-31', required

## Response `200`

Success

## Other responses

- `480` — DBInstanceNotFoundFault
- `481` — DBLogFileNotFoundFault

---

[API](https://skmtc.net/aws/apis/rds.md) · [All operations](https://skmtc.net/aws/apis/rds/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/rds/versions/e6b3ad7df19b/schema)
