Enable automatic installation for content packages
As of version 9.2.0, Kibana can automatically install content packages when it detects matching data in Elasticsearch. This feature uses the data_stream.dataset attribute to identify relevant content and install assets such as dashboards and alerts without requiring user intervention.
When data is ingested with a specific data_stream.dataset value, Kibana checks the Elastic Package Registry for content packages that have at least one matching dataset defined in their discovery.datasets field. If there is a matching content package, Kibana automatically installs it.
- Kibana version 9.2.0 or later
- The
format_versionin the content package'smanifest.ymlmust specify3.4.1or later.
To enable automatic installation for your content package, add the discovery.datasets property to your package's manifest.yml file. This property should be defined as an array of objects, each with a name field specifying a dataset. For example:
# my_content_package/manifest.yml
format_version: 3.4.1
name: my_content_package
version: 1.0.0
type: content
# ...
discovery:
fields: []
datasets:
- name: my.dataset
- name: other.dataset
If you publish a content package with this configuration, Kibana will automatically install the package when data with data_stream.dataset: "my.dataset" or data_stream.dataset: "other.dataset" is ingested in Elasticsearch.