# How to configure spacesid for multiple spaces in beats

**URL:** <https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884>\
**Category:** Beats\
**Created:** [November 30, 2018, 10:19am UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884 "2018-11-30T10:19:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [November 30, 2018, 10:19am UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884/1 "2018-11-30T10:19:19Z")

</div>

Hello I am wondering how to configure spacesid in the beats config files for supporting multiple spaces. I have tried with `beatsid: ['Default', 'test', 'test2']` but it's not working because it's requiring a string instead of an array.

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [November 30, 2018, 10:39am UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884/2 "2018-11-30T10:39:53Z")

</div>

Beats is only able to load dashboards into one space at a time. I suggest you try to load dashboards which belong to a common Kibana space. Then load the next few dashboards to a different space after changing it in the config.

---

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [November 30, 2018, 10:41am UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884/3 "2018-11-30T10:41:54Z")

</div>

That is what I was doing, Was hoping to be able to do all at once. Not doing repetative tasks. I would however add it as a command line option.

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [November 30, 2018, 10:56am UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884/4 "2018-11-30T10:56:37Z")

</div>

Unfortunately, there is no other way. You can open an enhancement request on Github: [https://github.com/elastic/beats/issues/new?template=feature-request.md](https://github.com/elastic/beats/issues/new?template=feature-request.md)

---

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [November 30, 2018, 11:19am UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884/5 "2018-11-30T11:19:10Z")

</div>

Thank you for your quick reply

---

<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:** [December 28, 2018, 1:19pm UTC](https://discuss.elastic.co/t/how-to-configure-spacesid-for-multiple-spaces-in-beats/158884/6 "2018-12-28T13:19:17Z")

</div>

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