Load the Kibana dashboardsedit

Warning

This functionality is in beta and is subject to change. The design and code is considered to be less mature than official GA features. Elastic will take a best effort approach to fix any issues, but beta features are not subject to the support SLA of official GA features.

Auditbeat comes packaged with example Kibana dashboards, visualizations, and searches for visualizing Auditbeat data in Kibana.

To load the dashboards, you can either enable dashboard loading in the setup.dashboards section of the auditbeat.yml config file, or you can run the setup command. Dashboard loading is disabled by default.

When dashboard loading is enabled, Auditbeat uses the Kibana API to load the sample dashboards. Dashboard loading is only attempted at Beat startup. If Kibana is not available at startup, Auditbeat will stop with an error.

To enable dashboard loading, add the following setting to the config file:

setup.dashboards.enabled: true

Configuration optionsedit

You can specify the following options in the setup.dashboards section of the auditbeat.yml config file:

setup.dashboards.enablededit

If this option is set to true, Auditbeat loads the sample Kibana dashboards automatically on startup. If no other options are set, the dashboard are loaded from the local kibana directory in the home path of the installation.

To load dashboards from a different location, you can configure one of the following options: setup.dashboards.directory, setup.dashboards.url, or setup.dashboards.file.

setup.dashboards.directoryedit

The directory that contains the dashboards to load. The default is the kibana folder in the home path.

setup.dashboards.urledit

The URL to use for downloading the dashboard archive. If this option is set, Auditbeat downloads the dashboard archive from the specified URL instead of using the local directory.

setup.dashboards.fileedit

The file archive (zip file) that contains the dashboards to load. If this option is set, Auditbeat looks for a dashboard archive in the specified path instead of using the local directory.

setup.dashboards.beatedit

In case the archive contains the dashboards for multiple Beats, this setting lets you select the Beat for which you want to load dashboards. To load all the dashboards in the archive, set this option to an empty string. The default is "auditbeat".

setup.dashboards.kibana_indexedit

The name of the Kibana index to use for setting the configuration. The default is ".kibana"

setup.dashboards.indexedit

The Elasticsearch index name. This setting overwrites the index name defined in the dashboards and index pattern. Example: "testbeat-*"