---
title: "POST /v2/entries:copy"
method: POST
path: "/v2/entries:copy"
tags: ["entries"]
---

# POST /v2/entries:copy

`POST /v2/entries:copy`

Copies a set of log entries from a log bucket to a Cloud Storage bucket.

## Request body

- CopyLogEntriesRequest — The parameters to CopyLogEntries.
  - `name` string — Required. Log bucket from which to copy log entries.For example:"projects/my-project/locations/global/buckets/my-source-bucket"
  - `filter` string — Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
  - `destination` string — Required. Destination to which to copy log entries. For example: "storage.googleapis.com/GCS_BUCKET"

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/logging.md) · [All operations](https://skmtc.dev/google/apis/logging/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/logging/revisions/820c4b0f7358/schema)
