ClusterStateHealth#indices might be many MBs of data in a large cluster but it's only used by GET _cat/indices and GET _cluster/health?level={indices|shards} so it could reasonably be left empty in all other cases. Similarly ClusterIndexHealth#shards is only used by GET _cluster/health?level=shards and could be omitted elsewhere, giving at least a 2× saving in those cases too.
Relates #77466.
ClusterStateHealth#indicesmight be many MBs of data in a large cluster but it's only used byGET _cat/indicesandGET _cluster/health?level={indices|shards}so it could reasonably be left empty in all other cases. SimilarlyClusterIndexHealth#shardsis only used byGET _cluster/health?level=shardsand could be omitted elsewhere, giving at least a 2× saving in those cases too.Relates #77466.