Importing Beat dashboards
Beats have predefined Kibana dashboards that we can import directly for showing inside the Kibana dashboard. By using a Beat executable, we can import the dashboards and index pattern for that Beat. Now, I will cover how we can import the dashboards in different Beats.
Importing dashboards in Filebeat
We need to run the following command for importing Filebeat dashboards and index patterns in Kibana:
filebeat setup
The preceding command will load index mapping, Kibana dashboards, and machine learning jobs if they have been created. We can pass the flag in the previous command. For example, if we only require dashboards, we can pass the following command:
filebeat setup --dashboards
We can pass --help
if we want the details about the Filebeat setup
command:
filebeat setup --help
Importing dashboards in Metricbeat
We have to run the following command for importing Metricbeat dashboards and index patterns in Kibana:
metricbeat setup
The preceding command loads index mapping,...