Should Beats modules overwrite Kibana dashboards?

Following up on add note about overwriting dashboards by loekvangool · Pull Request #6828 · elastic/beats · GitHub.

It seems that Beats now overwrites dashboards (https://github.com/elastic/beats/blob/9e2838d9ecaf4d9c3ea05ba7f97182cdd2d93574/libbeat/dashboards/kibana_loader.go#L89). There is a force flag hardcoded to true. Should this be the desired behaviour? Maybe this flag should be configurable?

Quoting @dedemorton:

This seems fairly important, so you might want to call this out as a separate note. I wonder if it might make sense to have a setup.dashboards.overwrite option like we have with the index template?

It would make sense to me to expose this value through the configuration.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.