elastic / elastic/logstash

Use Kibana API to import modules metadata

Open
#7,490 0 comments 0 reactions 1 assignee Claimed by @guyboertje View on GitHub
v6.0.0-beta1
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Today, to import the Kibana dashboard, metadata and Kibana settings for modules, we directly write to ES (to `.kibana` index). While this works, there is no guarantee we're persisting this info correctly, and there is no validation. Also, Kibana might change the schema/representation of this metadata.

Recently, Kibana has introduced an API which can be used to import dashboards and other objects. https://github.com/elastic/kibana/pull/10858 (this API will work in both 5.5 and 5.6 for Kibana)

This would introduce a dependency of Kibana in Logstash. We should add this setting when setting up modules.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.