Open Bamieh opened 3 years ago
Pinging @elastic/kibana-core (Team:Core)
Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry)
@elastic/kibana-security is already providing a more understandable report of our array-based settings, so from our perspective it's safe to omit these altogether from the generic usage report (option 1 as outlined above)
@chrisronline can you please list the array of objects configurations you want to report the value of. Is it possible to add those to a usage collector for now similar to how kibana-security is doing?
Sure.
xpack.actions.customHostSettings.tls.rejectUnauthorized
is deprecated in favor of xpack.actions.customHostSettings.tls.verificationMode
. We need to collect telemetry on it's usage to know when we can remove it but since the field is an array, we can't automatically hook into the usage counter telemetry. We could tack it onto our normal telemetry but it'd be nice if all deprecated configs existed in the part of the telemetry document to make it easier to visualize
We have a very few configs schemas with arrays of objects. Such as:
Currently we are reporting
[redacted]
if thearrayOf<object>
config is set by the user.We opted in for this behavior as it is unclear how we'd be indexing/searching these arrays of objects. Kibana and ES do not make it easy to aggregate and visualize arrays of objects.
To improve the current status for these configs we have a few options:
Keep reporting as
[redacted]
. Advise teams to manually expose these configs in their collectors rather than relying on the automatic kibana_config_usage collector if they need extra intel.report each property in the config as an array of keys
For options 2-4 we need to check how these data shapes would affect aggregations and visualizations.
Teams affected by this (cc @elastic/kibana-security @elastic/kibana-gis )