# Build filebeat x-pack cannot export dashboard

**URL:** <https://discuss.elastic.co/t/build-filebeat-x-pack-cannot-export-dashboard/227015>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 7, 2020, 9:44pm UTC](https://discuss.elastic.co/t/build-filebeat-x-pack-cannot-export-dashboard/227015 "2020-04-07T21:44:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Ware](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_ware/32/46467_2.png) [@Mike\_Ware](https://discuss.elastic.co/u/Mike_Ware)\
**Post date:** [April 7, 2020, 9:44pm UTC](https://discuss.elastic.co/t/build-filebeat-x-pack-cannot-export-dashboard/227015/1 "2020-04-07T21:44:32Z")

</div>

Once x-pack filebeat is build I cannot export dashboards.  
'''  
MODULE=zeek ID=7cbb5410-3700-11e9-aa6d-ff445a78330c mage exportDashboard  
Error while connecting to Kibana: fail to get the Kibana version: HTTP GET request to [http://localhost:5601/api/status](http://localhost:5601/api/status) fails: fail to execute the HTTP GET request: Get "[http://localhost:5601/api/status](http://localhost:5601/api/status)": dial tcp 127.0.0.1:5601: connect:  
connection refused. Response: .  
exit status 1  
Error: running "go run -mod vendor /root/go/src/github.com/elastic/beats/dev-tools/cmd/dashboards/export\_dashboards.go -output /root/go/src/github.com/elastic/beats/x-pack/filebeat/module/zeek/\_meta/kibana/7/dashboard/7cbb5410-3700-11e9-a  
a6d-ff445a78330c.json -dashboard 7cbb5410-3700-11e9-aa6d-ff445a78330c" failed with exit code 1  
'''

I assume this is because it's looking for a local instance of Kibana but there's no documentation on setting it to an external instance.

---

<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:** [May 5, 2020, 9:44pm UTC](https://discuss.elastic.co/t/build-filebeat-x-pack-cannot-export-dashboard/227015/2 "2020-05-05T21:44:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![variable](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/variable/32/118277_2.png) [@variable](https://discuss.elastic.co/u/variable)\
**Post date:** [March 24, 2021, 3:59pm UTC](https://discuss.elastic.co/t/build-filebeat-x-pack-cannot-export-dashboard/227015/3 "2021-03-24T15:59:36Z")

</div>

Hello @Mike_Ware, did you get a resolution to this?
