# Logstash - GCP cloud storage Output plugin

**URL:** <https://discuss.elastic.co/t/logstash-gcp-cloud-storage-output-plugin/339524>\
**Category:** Logstash\
**Created:** [July 28, 2023, 9:48am UTC](https://discuss.elastic.co/t/logstash-gcp-cloud-storage-output-plugin/339524 "2023-07-28T09:48:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luko](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Luko](https://discuss.elastic.co/u/Luko)\
**Post date:** [July 28, 2023, 9:48am UTC](https://discuss.elastic.co/t/logstash-gcp-cloud-storage-output-plugin/339524/1 "2023-07-28T09:48:21Z")

</div>

Hello

Does Losgatsh Output plugin - google\_cloud\_storage, support the action based on the content of the field.

I want to do something like that:

```auto
output {
    google_cloud_storage {
          bucket => "bucket_name/%{severity}"
          temp_directory => "/tmp/logstash-gcs"
          log_file_prefix => "%{[resource][labels][namespace_name]}"
          max_file_size_kbytes => 10240
          output_format => "json"
          date_pattern => "%Y-%m-%dT%H:00"
          flush_interval_secs => 2
          gzip => false
          gzip_content_encoding => false
          uploader_interval_secs => 60
          include_uuid => true 
          include_hostname => true
    }
} 

```

Is it possible?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 25, 2023, 9:49am UTC](https://discuss.elastic.co/t/logstash-gcp-cloud-storage-output-plugin/339524/2 "2023-08-25T09:49:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
