# Automate Creation of Dashboards!

**URL:** <https://discuss.elastic.co/t/automate-creation-of-dashboards/173649>\
**Category:** Kibana\
**Created:** [March 24, 2019, 6:31pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649 "2019-03-24T18:31:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [March 24, 2019, 6:31pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649/1 "2019-03-24T18:31:49Z")

</div>

Hi, I have Linux and Windows Servers where I am using filebeat to get data for Tomcat and IIS access logs.

MY index pattern is created by the server name. EX -beats-server-data.

Now I have many linux and windows servers and I want to repeat the same process. Is there a way I can automate this. I don't want to manually create similar dashboard with different index pattern . There should be a way to automate it. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 26, 2019, 7:21pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649/2 "2019-03-26T19:21:45Z")

</div>

Hi,

Filebeat comes with a set of prebuilt dashboards: [https://www.elastic.co/guide/en/beats/filebeat/current/load-kibana-dashboards.html](https://www.elastic.co/guide/en/beats/filebeat/current/load-kibana-dashboards.html)

I am also moving your question to beats forum and hopefully somebody will be able to help you there.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 26, 2019, 7:37pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649/3 "2019-03-26T19:37:33Z")

</div>

Creating indices per server name sounds like it could result in a lot of very small indices and shards, which is inefficient and wastes resources. I would generally recommend creating indices per type of data and store data from all sources providing that type of data in the same index. You then typically have a field that indicates where the data comes from which you can filter on. This allows you to have a single dashboard per type of data and add filters if you only want to see data from a specific host.

---

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [March 26, 2019, 10:21pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649/4 "2019-03-26T22:21:43Z")

</div>

@Christian, I like your idea. Will try to follow that. In this case even If I clone an existing dashboard I can just filter it with a new hostname and see relevant data related to that particular host.

Can I have same filebeat index for the data coming from windows and Linux server. Will there be any issue.

- I am using apache2 module for tomcat access logs on linux.
- IIS module for windows access logs.

---

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [March 26, 2019, 10:25pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649/5 "2019-03-26T22:25:42Z")

</div>

@bhavyarm I dont want to use the default dashboards. They are much detailed and not necessary for me. I wanted to customize and only use few widgets.

For Example: I wanted to divide a dashboard for all dev servers and see data related to dev. And Similary I want to categorise it for different environments. I want to just copy the template I created for one env and duplicate it to all other environments.

---

<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:** [April 23, 2019, 10:25pm UTC](https://discuss.elastic.co/t/automate-creation-of-dashboards/173649/6 "2019-04-23T22:25:45Z")

</div>

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