# Keep copy of file sent by Logstash to Google Cloud Storage bucket

**URL:** <https://discuss.elastic.co/t/keep-copy-of-file-sent-by-logstash-to-google-cloud-storage-bucket/375160>\
**Category:** Logstash\
**Created:** [February 27, 2025, 1:28pm UTC](https://discuss.elastic.co/t/keep-copy-of-file-sent-by-logstash-to-google-cloud-storage-bucket/375160 "2025-02-27T13:28:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taz](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Taz](https://discuss.elastic.co/u/Taz)\
**Post date:** [February 27, 2025, 1:28pm UTC](https://discuss.elastic.co/t/keep-copy-of-file-sent-by-logstash-to-google-cloud-storage-bucket/375160/1 "2025-02-27T13:28:21Z")

</div>

Hi. We have a requirement to keep a copy of each log file sent to Google Cloud Storage bucket for a couple of days (crazy business requirement). Sending the log files to Google Cloud works great. Can't figure out how to get Logstash to save a copy of the file just sent or how to get Logstash to make an exact copy of the file as it is created.
