diff --git a/pkg/es/cluster.go b/pkg/es/cluster.go index bff768b..3a97cfa 100644 --- a/pkg/es/cluster.go +++ b/pkg/es/cluster.go @@ -163,11 +163,12 @@ func ClusterStatus(conf *cfg.Config) error { ) } - table := printer.NewTable(conf, 2, 5) + table := printer.NewTable(conf, 2, 7) table.Addheaders(cluster, "status") table.Entries = [][]string{ - {"Cluster Name", printer.Colorize(conf, clusterhealth.Status.Name, clusterhealth.ClusterName)}, + {"Cluster Name", clusterhealth.ClusterName}, + {"ES Status", printer.Colorize(conf, clusterhealth.Status.Name, clusterhealth.Status.Name)}, {"ES Version", info.Version.Int}, {"Active Shards", fmt.Sprintf("%d", clusterhealth.ActiveShards)}, {"Active Primary Shards", fmt.Sprintf("%d", clusterhealth.ActivePrimaryShards)},