# Which options are global?

**URL:** <https://discuss.elastic.co/t/which-options-are-global/40247>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 27, 2016, 2:43pm UTC](https://discuss.elastic.co/t/which-options-are-global/40247 "2016-01-27T14:43:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcfens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pcfens/32/7316_2.png) [@pcfens](https://discuss.elastic.co/u/pcfens)\
**Post date:** [January 27, 2016, 2:43pm UTC](https://discuss.elastic.co/t/which-options-are-global/40247/1 "2016-01-27T14:43:10Z")

</div>

Under the [config\_dir](https://www.elastic.co/guide/en/beats/filebeat/1.1/filebeat-configuration-details.html#_config_dir) setting, there's a note that "All global options, such as spool\_size, are ignored."

Individual options don't list whether or not they're global - is there a list somewhere that I've missed?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 27, 2016, 2:47pm UTC](https://discuss.elastic.co/t/which-options-are-global/40247/2 "2016-01-27T14:47:11Z")

</div>

Judging by the preceding sentence,

> Each config file must also specify the full Filebeat config hierarchy even though only the prospector part of the file is processed.

I'd assume it means that only prospector configurations are honored, i.e. only nodes under filebeat.prospectors.

---

<div class="post-metadata">

**Author:** ![pcfens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pcfens/32/7316_2.png) [@pcfens](https://discuss.elastic.co/u/pcfens)\
**Post date:** [January 27, 2016, 3:01pm UTC](https://discuss.elastic.co/t/which-options-are-global/40247/3 "2016-01-27T15:01:40Z")

</div>

That makes sense, but not everything is clearly marked as to whether or not it goes under filebeat.prospectors or just under filebeat.

The examples make some options obvious, but others like publish\_async aren't clear since they're nested within options that are global, but don't include an example. Making an educated guess isn't too difficult with most, but making it clear would certainly be helpful.

---

<div class="post-metadata">

**Author:** ![dedemorton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dedemorton/32/84409_2.png) [@dedemorton](https://discuss.elastic.co/u/dedemorton)\
**Post date:** [January 27, 2016, 4:27pm UTC](https://discuss.elastic.co/t/which-options-are-global/40247/4 "2016-01-27T16:27:47Z")

</div>

You can look at the commented out sections of the filebeat.yml file to figure out where to specify options. However, I agree that we could do a better job of describing where to specify options, so I have created an issue in GitHub to track the doc change. [https://github.com/elastic/beats/issues/870](https://github.com/elastic/beats/issues/870)

---

<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:** [July 5, 2017, 9:56pm UTC](https://discuss.elastic.co/t/which-options-are-global/40247/5 "2017-07-05T21:56:18Z")

</div>


