# How Do I create a dashboard with hostnames like Nagios or Zabbix

**URL:** https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320
**Category:** Beats
**Created:** [December 16, 2015, 8:05am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320 "2015-12-16T08:05:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Priyavart\_Kaushik](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@Priyavart\_Kaushik](https://discuss.elastic.co/u/Priyavart_Kaushik)
#### Post date: [December 16, 2015, 8:05am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/1 "2015-12-16T08:05:45Z")

</div>

Hi.

I am working with topbeat and the out of the box dashboard do not generate a infrastructure view consolidated by hostname like in another monitoring tool.

For example if you can help me to create dashboard for CPU usage of all servers that will be helpful

---

<div class="post-metadata">

### Author: ![rclarke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rclarke/32/68604_2.png) [@rclarke](https://discuss.elastic.co/u/rclarke)
#### Post date: [December 16, 2015, 9:21am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/2 "2015-12-16T09:21:02Z")

</div>

Hello Priyavart,

Try something like this:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/0/0b6c1afa03f4bb1c50e1bdea61801a62a1368cdc.png).

Of course you can use a line chart if you prefer. 🙂

Cheers,  
-Robin-

---

<div class="post-metadata">

### Author: ![Priyavart\_Kaushik](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@Priyavart\_Kaushik](https://discuss.elastic.co/u/Priyavart_Kaushik)
#### Post date: [December 17, 2015, 5:30am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/3 "2015-12-17T05:30:06Z")

</div>

thanks, it helped but one more question i have. If my host names are like "[ip-54.1.2.3.asia.net](http://ip-54.1.2.3.asia.net)" , in legends it is showing legend for broken hostnames(like ip,54,asia,net), it should consider the complete string as a single hostname. This is confusing . How shall we rectify this.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/1/11583912ac3326d46446ec7b976a879083dbd03d.jpg)

---

<div class="post-metadata">

### Author: ![rclarke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rclarke/32/68604_2.png) [@rclarke](https://discuss.elastic.co/u/rclarke)
#### Post date: [December 17, 2015, 11:35am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/4 "2015-12-17T11:35:50Z")

</div>

Hello Priyavart,

It looks like you have your own mapping (not the default topbeats mapping) in which `beat.hostname` is an analyzed field, probably using the default analyzer and tokenizers which will split on a period (`.`).  
Please try applying the [topbeat template](https://github.com/elastic/beats/blob/master/topbeat/etc/topbeat.template.json) and re-indexing your data (or if it is not yet valuable, just delete the index and allow it to be re-created using the template installed).

Cheers,  
-Robin-

---

<div class="post-metadata">

### Author: ![Priyavart\_Kaushik](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@Priyavart\_Kaushik](https://discuss.elastic.co/u/Priyavart_Kaushik)
#### Post date: [December 18, 2015, 8:02am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/5 "2015-12-18T08:02:45Z")

</div>

Ok, thanks , did that,. I am just a learner so will bother you for a while , hope you dont mind  
🙂

How do i reindex my topbeat-\* index. because I am trying but getting few errors , may be I am not doing it correct.

What i dont get is what is **old\_type** in the reindex command.

my index name is topbeat-[dates]

---

<div class="post-metadata">

### Author: ![rclarke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rclarke/32/68604_2.png) [@rclarke](https://discuss.elastic.co/u/rclarke)
#### Post date: [December 18, 2015, 8:42am UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/6 "2015-12-18T08:42:11Z")

</div>

Hello Priyavart,

[Soon reindexing will be natively supported by elasticsearch](https://github.com/elastic/elasticsearch/issues/15201). I assume that you are using some other tool which has the option `old_type` ... I assume this means the document type which you are indexing from - probably leave that out if you want to reindex all documents from the index.

[Here](http://david.pilato.fr/blog/2015/05/20/reindex-elasticsearch-with-logstash/) is another good instruction how to reindex using logstash.

Cheers,  
-Robin-

---

<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: [July 5, 2017, 9:57pm UTC](https://discuss.elastic.co/t/how-do-i-create-a-dashboard-with-hostnames-like-nagios-or-zabbix/37320/7 "2017-07-05T21:57:24Z")

</div>


