# Beats - Export dashboards to file

**URL:** <https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857>\
**Category:** Beats\
**Tags:** filebeat, winlogbeat, auditbeat\
**Created:** [February 19, 2021, 12:44pm UTC](https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857 "2021-02-19T12:44:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![siginigin](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@siginigin](https://discuss.elastic.co/u/siginigin)\
**Post date:** [February 19, 2021, 12:44pm UTC](https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857/1 "2021-02-19T12:44:44Z")

</div>

Hi,

I'm working on automation of beats deployment with ansible. I don't want to give all the beats access to neither kibana nor elasticsearch, just logstash. So I decided to grab all the dashboards delivered with beats and import them with ansible through kibana api to saved\_objects. But that not easy - exporting dashboard still wants to have access to kibana, so the only option I see is to do

```auto
filebeat setup --dashboards
auditbeat setup --dashboards
winlogbeat setup --dashboards

```

and then download the dashboards from kibana to save with my project.

Other things such as index config, templates, etc can be exported without problems to stdin.

Is there a easier way how to achieve this?

Thank you

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 19, 2021, 3:19pm UTC](https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857/2 "2021-02-19T15:19:00Z")

</div>

There is an artifact that contains all the dashboards and nothing else.

[https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-7.10.1.zip](https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-7.10.1.zip)

Perhaps you could download that with Ansible and extract it. Then use Ansible to mimic what the `setup --dashboards` command does by making a REST call to the saved-objects API ([beats/kibana\_loader.go at 0b12bb453d316734b0dcc1fa1dfde54761457c98 · elastic/beats · GitHub](https://github.com/elastic/beats/blob/0b12bb453d316734b0dcc1fa1dfde54761457c98/libbeat/dashboards/kibana_loader.go#L124-L149)).

---

<div class="post-metadata">

**Author:** ![siginigin](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@siginigin](https://discuss.elastic.co/u/siginigin)\
**Post date:** [February 19, 2021, 3:49pm UTC](https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857/3 "2021-02-19T15:49:33Z")

</div>

Hey, that's exactly what I was looking for. How did you get to that link? I found nothing that leads to this file. Anyway, thank you 🙂

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 19, 2021, 4:09pm UTC](https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857/4 "2021-02-19T16:09:12Z")

</div>

It's a legacy artifact from a few major releases ago when Beats used to download the dashboards rather than including them in their own package. Nothing uses it, but we kept it around.

---

<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:** [March 19, 2021, 6:09pm UTC](https://discuss.elastic.co/t/beats-export-dashboards-to-file/264857/5 "2021-03-19T18:09:23Z")

</div>

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