# Best Practices in logstash

**URL:** <https://discuss.elastic.co/t/best-practices-in-logstash/229379>\
**Category:** Logstash\
**Created:** [April 23, 2020, 5:16am UTC](https://discuss.elastic.co/t/best-practices-in-logstash/229379 "2020-04-23T05:16:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vignesh2912](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vignesh2912/32/66164_2.png) [@Vignesh2912](https://discuss.elastic.co/u/Vignesh2912)\
**Post date:** [April 23, 2020, 5:16am UTC](https://discuss.elastic.co/t/best-practices-in-logstash/229379/1 "2020-04-23T05:16:06Z")

</div>

Hi All,

My current setup is as below,

Amazon S3 -\> Logstash -\> Elasticsearch -\> Kibana

In logstash, we are trying to poll files from 4 s3 buckets ie each for each environment. so we are expecting data load per day of 3 to 4GB Max all together of 4 buckets.

So my question is which is the best way of configuration,

1. Creating a logstash conf file where in input section i poll all 4 s3 buckets eg as below,

I will be creating index on month basics. How good the performance it will be in such case ?

1. Do i need to create 4 config files for each 1 bucket and also create a pipeline as like below. How the performance will be in both case. For this condition i will be using 4 indexes for each environment.

Please suggest which is best practices.

---

<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:** [May 21, 2020, 5:16am UTC](https://discuss.elastic.co/t/best-practices-in-logstash/229379/2 "2020-05-21T05:16:09Z")

</div>

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