# Logstash config file issues

**URL:** <https://discuss.elastic.co/t/logstash-config-file-issues/221977>\
**Category:** Logstash\
**Created:** [March 4, 2020, 3:30am UTC](https://discuss.elastic.co/t/logstash-config-file-issues/221977 "2020-03-04T03:30:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikhilesh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nikhilesh](https://discuss.elastic.co/u/nikhilesh)\
**Post date:** [March 4, 2020, 3:30am UTC](https://discuss.elastic.co/t/logstash-config-file-issues/221977/1 "2020-03-04T03:30:05Z")

</div>

Hi All,

i have doubts on below two queries.

1. I have 2 linux servers where the filebeat was installed . i want to configure the each server to connect to logstash config seperately. ie.  
one server should read one logstash config file and another server should read another logstash config file...how to do this setup.
2. How to achieve custom index names ?

---

<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:** [April 1, 2020, 3:30am UTC](https://discuss.elastic.co/t/logstash-config-file-issues/221977/2 "2020-04-01T03:30:10Z")

</div>

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