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
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.
#------------------------------- 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
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.