# What all files need to be present in Logstash settings folder if custom settings path is specified in startup command line

**URL:** <https://discuss.elastic.co/t/what-all-files-need-to-be-present-in-logstash-settings-folder-if-custom-settings-path-is-specified-in-startup-command-line/74221>\
**Category:** Logstash\
**Created:** [February 7, 2017, 12:39pm UTC](https://discuss.elastic.co/t/what-all-files-need-to-be-present-in-logstash-settings-folder-if-custom-settings-path-is-specified-in-startup-command-line/74221 "2017-02-07T12:39:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [February 7, 2017, 12:39pm UTC](https://discuss.elastic.co/t/what-all-files-need-to-be-present-in-logstash-settings-folder-if-custom-settings-path-is-specified-in-startup-command-line/74221/1 "2017-02-07T12:39:51Z")

</div>

Hi,

I am using Logstasg GA 5.0.0. I would like to start 2 Logstash instances with different API http ports in a single machine, so I decided to make a duplicate config folder. Now I have the original `config` folder and `config2` folder. Then I start my instances using;

```
./logstash -f "../logs1.conf" --config.reload.automatic
./logstash --path.settings="../config2/" -f "../logs2.conf" --config.reload.automatic

```

I have set different `http.port`s in `logstash.yml` file in those two folders. My question is, I have;

- jvm.options
- log4j2.properties
- logstash.yml
- startup.options

files in my both folders, and should I keep all these files in my duplicate folder also? What all files are required in the folder to specify `--path.settings` at Logstash startup?

Thank you.

---

<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:** [March 7, 2017, 12:40pm UTC](https://discuss.elastic.co/t/what-all-files-need-to-be-present-in-logstash-settings-folder-if-custom-settings-path-is-specified-in-startup-command-line/74221/2 "2017-03-07T12:40:10Z")

</div>

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