diff --git a/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestNodesStatsAction.java b/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestNodesStatsAction.java index 17a2d95a85a07..e16c823aa40ca 100644 --- a/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestNodesStatsAction.java +++ b/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestNodesStatsAction.java @@ -230,8 +230,8 @@ public RestChannelConsumer prepareRequest(final RestRequest request, final NodeC } // If no levels are passed in this results in an empty array. - String[] levels = Strings.splitStringByCommaToArray(request.param("level")); - nodesStatsRequest.indices().setLevels(levels); +// String[] levels = Strings.splitStringByCommaToArray(request.param("level")); +// nodesStatsRequest.indices().setLevels(levels); // nodesStatsRequest.indices().optimizeNodeIndicesStatsOnLevel(true); return channel -> client.admin().cluster().nodesStats(nodesStatsRequest, new NodesResponseRestListener<>(channel));