# Dynamic Prefix with s3 input plugin

**URL:** <https://discuss.elastic.co/t/dynamic-prefix-with-s3-input-plugin/206167>\
**Category:** Logstash\
**Created:** [November 1, 2019, 1:04pm UTC](https://discuss.elastic.co/t/dynamic-prefix-with-s3-input-plugin/206167 "2019-11-01T13:04:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhishi127](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rhishi127](https://discuss.elastic.co/u/rhishi127)\
**Post date:** [November 1, 2019, 1:04pm UTC](https://discuss.elastic.co/t/dynamic-prefix-with-s3-input-plugin/206167/1 "2019-11-01T13:04:54Z")

</div>

Hi, I am using logstash version 6.6.0 I want to pass current year value as variable in a prefix of s3 input plugin as we can pass in s3 output plugin prefix can anyone help

---

<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:** [November 29, 2019, 1:04pm UTC](https://discuss.elastic.co/t/dynamic-prefix-with-s3-input-plugin/206167/2 "2019-11-29T13:04:54Z")

</div>

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