# Why can't I import the metricbeat dashboard on Freebsd?

**URL:** https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365
**Category:** Beats
**Tags:** metricbeat
**Created:** [February 14, 2019, 9:06am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365 "2019-02-14T09:06:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Tutorial\_Linux\_Indon](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@Tutorial\_Linux\_Indon](https://discuss.elastic.co/u/Tutorial_Linux_Indon)
#### Post date: [February 14, 2019, 9:06am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/1 "2019-02-14T09:06:47Z")

</div>

Good afternoon / afternoon, why can't I import the metricbeat dashboard on Freebsd?

Next is the log Metricbaet Output.

Feb 14 15:32:32 smtp140 metricbeat[3834]: ERROR instance/beat.go:667 Exiting: 1 error: 1 error: metricset 'system/uptime' is not registered, metricset not found  
Feb 14 15:32:33 smtp140 metricbeat[3844]: ERROR instance/metrics.go:61 Error while getting memory usage: error retrieving process stats: cannot find matching process for pid=3844  
Feb 14 15:32:33 smtp140 metricbeat[3844]: ERROR instance/metrics.go:92 Error retrieving CPU percentages: error retrieving process stats: cannot find matching process for pid=3844  
Feb 14 15:32:33 smtp140 metricbeat[3844]: ERROR instance/beat.go:667 Exiting: 1 error: 1 error: metricset 'system/uptime' is not registered, metricset not found

Any idea ?

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [February 14, 2019, 4:05pm UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/2 "2019-02-14T16:05:54Z")

</div>

The above error does not have much to do with the dashboard I think. The above metricsets you have configured in the config but are not supported on FreeBSD. If you disable these, you should be able to load your dashboards.

What's the command you use to load dashboards?

---

<div class="post-metadata">

### Author: ![Tutorial\_Linux\_Indon](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@Tutorial\_Linux\_Indon](https://discuss.elastic.co/u/Tutorial_Linux_Indon)
#### Post date: [February 15, 2019, 3:00am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/3 "2019-02-15T03:00:55Z")

</div>

it is metricbeat setup --dashboards

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [February 19, 2019, 2:46am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/4 "2019-02-19T02:46:32Z")

</div>

What are the metricsets enabled here?

---

<div class="post-metadata">

### Author: ![Tutorial\_Linux\_Indon](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@Tutorial\_Linux\_Indon](https://discuss.elastic.co/u/Tutorial_Linux_Indon)
#### Post date: [February 19, 2019, 3:34am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/5 "2019-02-19T03:34:56Z")

</div>

Yes, metricset is enabled

Pada tanggal Sel, 19 Feb 2019 9.56 AM, Kaiyan Sheng via Discuss the Elastic Stack [elastic@discoursemail.com](mailto:elastic@discoursemail.com) menulis:

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [February 19, 2019, 3:52am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/6 "2019-02-19T03:52:32Z")

</div>

Are you using the system module? Can you tell me what are the metricsets that are enabled? It should be in system.yml:

- module: system  
metricsets:
  - cpu # CPU usage
  - load # CPU load averages
  - memory # Memory usage
  - network # Network IO
  - process # Per process metrics
  - process\_summary # Process summary
  - uptime # System Uptime

---

<div class="post-metadata">

### Author: ![Tek\_Chand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tek_chand/32/34318_2.png) [@Tek\_Chand](https://discuss.elastic.co/u/Tek_Chand)
#### Post date: [February 19, 2019, 11:58am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/7 "2019-02-19T11:58:58Z")

</div>

@Tutorial_Linux_Indon, Can you please share your `metricbeat.yml` config file? It will be more helpful to check the configuration issue.

Thanks.

---

<div class="post-metadata">

### Author: ![Tutorial\_Linux\_Indon](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@Tutorial\_Linux\_Indon](https://discuss.elastic.co/u/Tutorial_Linux_Indon)
#### Post date: [February 27, 2019, 8:05am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/8 "2019-02-27T08:05:06Z")

</div>

it is konfig metricbeat.yml

#============================== Kibana =====================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.

# This requires a Kibana endpoint configuration.

setup.kibana:

# Kibana Host

# Scheme and port can be left out and will be set to the default (http and 5601)

# In case you specify and additional path, the scheme is required: [http://localhost:5601/path](http://localhost:5601/path)

# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601

#host: "localhost:5601"  
host: "10.10.10.1:8080"

#-------------------------- Elasticsearch output ------------------------------  
output.elasticsearch:

# Array of hosts to connect to.

#hosts: ["localhost:9200"]  
hosts: ["10.10.10.1:8001"]

# Optional protocol and basic auth credentials.

#protocol: "https"  
#username: "elastic"  
#password: "changeme"

#----------------------------- Logstash output --------------------------------  
#output.logstash:

# The Logstash hosts

#hosts: ["localhost:5044"]

# Optional SSL. By default is off.

# List of root certificates for HTTPS server verifications

#ssl.certificate\_authorities: ["/etc/pki/root/ca.pem"]

# Certificate for SSL client authentication

#ssl.certificate: "/etc/pki/client/cert.pem"

# Client Certificate Key

#ssl.key: "/etc/pki/client/cert.key"

---

<div class="post-metadata">

### Author: ![Tutorial\_Linux\_Indon](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@Tutorial\_Linux\_Indon](https://discuss.elastic.co/u/Tutorial_Linux_Indon)
#### Post date: [February 27, 2019, 8:08am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/9 "2019-02-27T08:08:28Z")

</div>

yes, i enable metricset

#------------------------------- System Module -------------------------------

- module: system  
metricsets:
  - cpu # CPU usage
  - load # CPU load averages
  - memory # Memory usage
  - network # Network IO
  - process # Per process metrics
  - process\_summary # Process summary
  - uptime # System Uptime  
#- core # Per CPU core usage  
#- diskio # Disk IO  
#- filesystem # File system usage for each mountpoint  
#- fsstat # File system summary metrics  
#- raid # Raid  
#- socket # Sockets and connection info (linux only)  
enabled: true  
period: 10s  
processes: ['.\*']

after activating metricset and restarting the metricbeat services. A log appears like this

Feb 27 14:59:47 smtp150 filebeat[9086]: ERROR instance/metrics.go:77 Error while getting memory usage: error retrieving process stats: cannot find matching process for pid=9086  
Feb 27 14:59:47 smtp150 filebeat[9086]: ERROR instance/metrics.go:112 Error retrieving CPU percentages: error retrieving process stats: cannot find matching process for pid=9086

---

<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 27, 2019, 8:08am UTC](https://discuss.elastic.co/t/why-cant-i-import-the-metricbeat-dashboard-on-freebsd/168365/10 "2019-03-27T08:08:36Z")

</div>

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