WARNING: Version 6.2 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Step 4: Set up the Kibana dashboards
editStep 4: Set up the Kibana dashboards
editMetricbeat comes packaged with example Kibana dashboards, visualizations,
and searches for visualizing Metricbeat data in Kibana. Before you can use
the dashboards, you need to create the index pattern, metricbeat-*
, and
load the dashboards into Kibana. To do this, you can either run the setup
command (as described here) or
configure dashboard loading in the
metricbeat.yml
config file.
This requires a Kibana endpoint configuration. If you didn’t already configure a Kibana endpoint, see configured Metricbeat
Make sure Kibana is running before you perform this step. If you are accessing a secured Kibana instance, make sure you’ve configured credentials as described in Step 2: Configure Metricbeat.
To set up the Kibana dashboards for Metricbeat, use the appropriate command for your system. The command shown here loads the dashboards from the Metricbeat package. For more options, such as loading customized dashboards, see Importing Existing Beat Dashboards in the Beats Developer Guide.
deb and rpm:
metricbeat setup --dashboards
mac:
./metricbeat setup --dashboards
docker:
docker run docker.elastic.co/beats/metricbeat:6.2.4 setup --dashboards
win:
Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select Run As Administrator). If you are running Windows XP, you may need to download and install PowerShell.
From the PowerShell prompt, change to the directory where you installed Metricbeat, and run:
PS > metricbeat setup --dashboards