diff --git a/graylog2-server/src/main/java/org/graylog2/indexer/indices/stats/IndexStatistics.java b/graylog2-server/src/main/java/org/graylog2/indexer/indices/stats/IndexStatistics.java index f86706812815..4c1377e1fc9a 100644 --- a/graylog2-server/src/main/java/org/graylog2/indexer/indices/stats/IndexStatistics.java +++ b/graylog2-server/src/main/java/org/graylog2/indexer/indices/stats/IndexStatistics.java @@ -63,10 +63,10 @@ private static IndexStats buildIndexStats(final JsonNode stats) { final long getTotalTimeSeconds = get.path("total_time_in_millis").asLong() / 1000L; final JsonNode indexing = stats.path("indexing"); - final long indexingTotal = indexing.path("total").asLong(); - final long indexingTotalTimeSeconds = indexing.path("total_time_in_millis").asLong() / 1000L; + final long indexingTotal = indexing.path("index_total").asLong(); + final long indexingTotalTimeSeconds = indexing.path("index_time_in_millis").asLong() / 1000L; - final JsonNode merge = stats.path("merge"); + final JsonNode merge = stats.path("merges"); final long mergeTotal = merge.path("total").asLong(); final long mergeTotalTimeSeconds = merge.path("total_time_in_millis").asLong() / 1000L;