forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make elasticsearch/ccr metricset work for Stack Monitoring without xp…
…ack.enabled flag (elastic#21348)
- Loading branch information
Showing
12 changed files
with
836 additions
and
126 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,109 @@ | ||
{ | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"agent": { | ||
"hostname": "host.example.com", | ||
"name": "host.example.com" | ||
}, | ||
"elasticsearch": { | ||
"ccr": { | ||
"auto_follow": { | ||
"failed": { | ||
"follow_indices": { | ||
"count": 0 | ||
}, | ||
"remote_cluster_state_requests": { | ||
"count": 0 | ||
} | ||
}, | ||
"success": { | ||
"follow_indices": { | ||
"count": 1 | ||
} | ||
} | ||
}, | ||
"bytes_read": 32768, | ||
"follower": { | ||
"global_checkpoint": -1, | ||
"index": "my_index_f", | ||
"operations_written": 0, | ||
"global_checkpoint": 768, | ||
"index": "follower_index", | ||
"max_seq_no": 896, | ||
"operations": { | ||
"read": { | ||
"count": 896 | ||
} | ||
}, | ||
"operations_written": 832, | ||
"settings_version": 2, | ||
"shard": { | ||
"number": 0 | ||
}, | ||
"time_since_last_read": { | ||
"ms": 42294 | ||
"ms": 8 | ||
} | ||
}, | ||
"leader": { | ||
"index": "my_index", | ||
"max_seq_no": -1 | ||
"global_checkpoint": 1024, | ||
"index": "leader_index", | ||
"max_seq_no": 1536 | ||
}, | ||
"requests": { | ||
"failed": { | ||
"read": { | ||
"count": 0 | ||
}, | ||
"write": { | ||
"count": 0 | ||
} | ||
}, | ||
"outstanding": { | ||
"read": { | ||
"count": 8 | ||
}, | ||
"write": { | ||
"count": 2 | ||
} | ||
}, | ||
"successful": { | ||
"read": { | ||
"count": 32 | ||
}, | ||
"write": { | ||
"count": 16 | ||
} | ||
} | ||
}, | ||
"total_time": { | ||
"read": { | ||
"ms": 32768, | ||
"remote_exec": { | ||
"ms": 16384 | ||
} | ||
}, | ||
"write": { | ||
"ms": 16384 | ||
} | ||
}, | ||
"write_buffer": { | ||
"operation": { | ||
"count": 64 | ||
}, | ||
"size": { | ||
"bytes": 1536 | ||
} | ||
} | ||
}, | ||
"cluster": { | ||
"id": "3LbUkLkURz--FR-YO0wLNA", | ||
"name": "es1" | ||
"id": "8l_zoGznQRmtoX9iSC-goA", | ||
"name": "docker-cluster" | ||
} | ||
}, | ||
"event": { | ||
"dataset": "elasticsearch.ccr", | ||
"duration": 115000, | ||
"module": "elasticsearch" | ||
}, | ||
"metricset": { | ||
"host": "127.0.0.1:9200", | ||
"module": "elasticsearch", | ||
"name": "ccr", | ||
"rtt": 115 | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"name": "elasticsearch" | ||
"address": "127.0.0.1:53293", | ||
"name": "elasticsearch", | ||
"type": "elasticsearch" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
metricbeat/module/elasticsearch/ccr/_meta/test/root.710.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "a14cf47ef7f2", | ||
"cluster_name": "docker-cluster", | ||
"cluster_uuid": "8l_zoGznQRmtoX9iSC-goA", | ||
"version": { | ||
"number": "7.10.0", | ||
"build_flavor": "default", | ||
"build_type": "docker", | ||
"build_hash": "43884496262f71aa3f33b34ac2f2271959dbf12a", | ||
"build_date": "2020-10-28T09:54:14.068503Z", | ||
"build_snapshot": true, | ||
"lucene_version": "8.7.0", | ||
"minimum_wire_compatibility_version": "7.11.0", | ||
"minimum_index_compatibility_version": "7.0.0" | ||
}, | ||
"tagline": "You Know, for Search" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.