# Exporting configuration from Graylog

**URL:** <https://community.graylog.org/t/exporting-configuration-from-graylog/4992>\
**Category:** Graylog Central (peer support)\
**Tags:** pipeline-rules\
**Created:** [April 16, 2018, 3:53pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992 "2018-04-16T15:53:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magneton](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/magneton/32/1609_2.png) [@Magneton](https://community.graylog.org/u/Magneton)\
**Post date:** [April 16, 2018, 3:53pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992/1 "2018-04-16T15:53:00Z")

</div>

Dear All,

I want to export an entire configuration from one Graylog system to another?

I know that content packs could be used to export dashboards,inputs and streams. However, I have a large number of pipeline rules inn multiple stages attached to streams

Is there a way to export pipeline rules and import them into a second Graylog server as well?

Am I missing something?

Cheers

Jake

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [April 16, 2018, 4:05pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992/2 "2018-04-16T16:05:48Z")

</div>

currently the only solution is to export from the database - with the upcoming release this will be more easy.

You would need to export parts or the complete database from one host to the other.

---

<div class="post-metadata">

**Author:** ![Magneton](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/magneton/32/1609_2.png) [@Magneton](https://community.graylog.org/u/Magneton)\
**Post date:** [April 17, 2018, 1:37pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992/3 "2018-04-17T13:37:35Z")

</div>

HI Jan,

Can you point me towards some documentation regarding MongoDB tables needed or is it simply exporting and importing the whole database?

Cheers

Jake

---

<div class="post-metadata">

**Author:** ![Magneton](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/magneton/32/1609_2.png) [@Magneton](https://community.graylog.org/u/Magneton)\
**Post date:** [April 17, 2018, 2:46pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992/4 "2018-04-17T14:46:58Z")

</div>

Hi Jan,

I am going to look at the table structures within MongoDB for exporting.

I am assuming that you will need to use mongodump command to create a BSON formatted dump.

Next, I will download a VM and try to re install config.

Will let you know how it goes.

Cheers

Jake

---

<div class="post-metadata">

**Author:** ![Magneton](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/magneton/32/1609_2.png) [@Magneton](https://community.graylog.org/u/Magneton)\
**Post date:** [April 18, 2018, 2:56pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992/5 "2018-04-18T14:56:21Z")

</div>

Hi Jan,

Here a screenshot of my current graylog mongodb collection

![graylog-mongod](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/a/a022b8d4cfd5c0326e7d2d9abc4b8eea64678de3.PNG)

Are there any parts of the collection that I should avoid? I want to export inputs,dashboards, streams, piepline rules and lookup table at a minimum.

So is it better to just export those parts of the collection or just the whole lot?

Cheers

Jake

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [May 2, 2018, 2:56pm UTC](https://community.graylog.org/t/exporting-configuration-from-graylog/4992/6 "2018-05-02T14:56:22Z")

</div>

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