Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metricbeat/module/elasticsearch/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var CCRStatsAPIAvailableVersion = common.MustNewVersion("6.5.0")
var EnrichStatsAPIAvailableVersion = common.MustNewVersion("7.5.0")

// BulkStatsAvailableVersion is the version since when bulk indexing stats are available
var BulkStatsAvailableVersion = common.MustNewVersion("7.8.0")
var BulkStatsAvailableVersion = common.MustNewVersion("8.0.0")

// Global clusterIdCache. Assumption is that the same node id never can belong to a different cluster id.
var clusterIDCache = map[string]string{}
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/module/elasticsearch/index/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestGetServiceURI(t *testing.T) {
expectedPath: statsPath,
},
"bulk_stats_available": {
esVersion: common.MustNewVersion("7.8.0"),
esVersion: common.MustNewVersion("8.0.0"),
expectedPath: strings.Replace(statsPath, statsMetrics, statsMetrics+",bulk", 1),
},
}
Expand All @@ -58,7 +58,7 @@ func TestGetServiceURIMultipleCalls(t *testing.T) {
var uri string
var err error
for i := uint(0); i < numCalls; i++ {
uri, err = getServicePath(*common.MustNewVersion("7.8.0"))
uri, err = getServicePath(*common.MustNewVersion("8.0.0"))
if err != nil {
return false
}
Expand Down