# X-Pack Logstash Settings issue

**URL:** https://discuss.elastic.co/t/x-pack-logstash-settings-issue/95641
**Category:** Logstash
**Created:** [August 3, 2017, 4:58am UTC](https://discuss.elastic.co/t/x-pack-logstash-settings-issue/95641 "2017-08-03T04:58:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)
#### Post date: [August 3, 2017, 4:58am UTC](https://discuss.elastic.co/t/x-pack-logstash-settings-issue/95641/1 "2017-08-03T04:58:18Z")

</div>

I have installed the X-Pack on logstash for monitoring. I don't see the logstash.yml file is being updated with additional xpack monitoring settings. Still I see the following settings when I run the logstash. Also the xpack monitoring settings which I have set in logstash.yml are not being picked up. In fact somehow none of the settings from logstash.yml are being considered.

From where the following settings were being picked up?

] xpack.monitoring.enabled: true  
[2017-08-02T16:58:01,962][DEBUG][logstash.runner] xpack.monitoring.elasticsearch.url: ["[http://localhost:9200](http://localhost:9200)"]  
[2017-08-02T16:58:01,962][DEBUG][logstash.runner] xpack.monitoring.collection.interval: 10000000000  
[2017-08-02T16:58:01,962][DEBUG][logstash.runner] xpack.monitoring.collection.timeout\_interval: 600000000000  
[2017-08-02T16:58:01,962][DEBUG][logstash.runner] xpack.monitoring.elasticsearch.username: "logstash\_system"  
[2017-08-02T16:58:01,963][DEBUG][logstash.runner] xpack.monitoring.elasticsearch.password: "changeme"  
[2017-08-02T16:58:01,963][DEBUG][logstash.runner] xpack.monitoring.elasticsearch.sniffing: false  
[2017-08-02T16:58:01,963][DEBUG][logstash.runner] node.uuid: ""  
[2017-08-02T16:58:01,963][DEBUG][logstash.runner] --------------- Logstash Settings -------------------  
[2017-08-02T16:58:01,976][DEBUG][logstash.agent] Agent: Configuring metric collection  
[2017-08-02T16:58:01,979][DEBUG][logstash.instrument.periodicpoller.os] PeriodicPoller: Starting {:polling\_interval=\>5, :polling\_timeout=\>120}  
[2017-08-02T16:58:01,995][DEBUG][logstash.instrument.periodicpoller.jvm] PeriodicPoller: Starting {:polling\_i

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [August 3, 2017, 5:40am UTC](https://discuss.elastic.co/t/x-pack-logstash-settings-issue/95641/2 "2017-08-03T05:40:11Z")

</div>

> [@mruthyu](#):
>
> I don’t see the logstash.yml file is being updated with additional xpack monitoring settings.

We do not update your configuration files when you install plugins.  
The plugins make new configuration settings available for you to use in your configuration, but you need to add them yourself if you want to apply a value to them.

When applications start trying to fiddle with configuration files and automatically apply changes, it has a tendency to go wrong and mess everything up.

> [@mruthyu](#):
>
> the xpack monitoring settings which I have set in logstash.yml are not being picked up

Please provide more details. What settings have you configured?

> [@mruthyu](#):
>
> From where the following settings were being picked up?

Those are the default values for those settings.

---

<div class="post-metadata">

### Author: ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)
#### Post date: [August 3, 2017, 12:03pm UTC](https://discuss.elastic.co/t/x-pack-logstash-settings-issue/95641/6 "2017-08-03T12:03:31Z")

</div>

I am able to figure out this issue and it was with the format of the logstash.yml file. Is there any way to validate the logstash.yml file similar to what we have in filebeat?

filebeat -c filebeat.yml -configtest

---

<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 31, 2017, 12:04pm UTC](https://discuss.elastic.co/t/x-pack-logstash-settings-issue/95641/7 "2017-08-31T12:04:04Z")

</div>

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