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.
Get rid of errors generated by xpack code for
elasticsearch/shard
m…
…etricset (elastic#8192) (elastic#8285) * Refactoring: Extract passthruFields function for broader use * Passthru fields that could sometimes by null * Do not report errors in xpack path as they will go into metricbeat index * Un-hardcode index name * More fixes * Regenerating data.json * Fixing order * Renaming data JSON file to include version * Renaming data.700.json back to data.json * Adding unit test fixture for 7.0.0
- Loading branch information
1 parent
3ca388f
commit e6220c2
Showing
9 changed files
with
194 additions
and
30 deletions.
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
117 changes: 117 additions & 0 deletions
117
metricbeat/module/elasticsearch/shard/_meta/test/routing_table.700.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,117 @@ | ||
{ | ||
"cluster_name": "elasticsearch", | ||
"compressed_size_in_bytes": 11865, | ||
"cluster_uuid": "d0xWWzE8S_2x3Z-lMagVxw", | ||
"version": 26, | ||
"state_uuid": "K6wBBv1ZQk-1HgpnPx5awQ", | ||
"master_node": "PL_V6KgiSXCO-vI2Rm-B_A", | ||
"routing_table": { | ||
"indices": { | ||
".monitoring-es-6-2018.09.05": { | ||
"shards": { | ||
"0": [ | ||
{ | ||
"state": "STARTED", | ||
"primary": true, | ||
"node": "PL_V6KgiSXCO-vI2Rm-B_A", | ||
"relocating_node": null, | ||
"shard": 0, | ||
"index": ".monitoring-es-6-2018.09.05", | ||
"allocation_id": { | ||
"id": "mOtgQ2xsTGWbRSlRbkbrcA" | ||
} | ||
}, | ||
{ | ||
"state": "UNASSIGNED", | ||
"primary": false, | ||
"node": null, | ||
"relocating_node": null, | ||
"shard": 0, | ||
"index": ".monitoring-es-6-2018.09.05", | ||
"recovery_source": { | ||
"type": "PEER" | ||
}, | ||
"unassigned_info": { | ||
"reason": "REPLICA_ADDED", | ||
"at": "2018-09-05T16:23:21.269Z", | ||
"delayed": false, | ||
"allocation_status": "no_attempt" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"testindex": { | ||
"shards": { | ||
"0": [ | ||
{ | ||
"state": "STARTED", | ||
"primary": true, | ||
"node": "PL_V6KgiSXCO-vI2Rm-B_A", | ||
"relocating_node": null, | ||
"shard": 0, | ||
"index": "testindex", | ||
"allocation_id": { | ||
"id": "epzwd1uKQGSLa745KCBYQw" | ||
} | ||
}, | ||
{ | ||
"state": "INITIALIZING", | ||
"primary": false, | ||
"node": "DdU2Zw-gSRCmAi0Kp46aCg", | ||
"relocating_node": null, | ||
"shard": 0, | ||
"index": "testindex", | ||
"recovery_source": { | ||
"type": "PEER" | ||
}, | ||
"allocation_id": { | ||
"id": "foAIE9r0S-Ob8vjstFg1qA" | ||
}, | ||
"unassigned_info": { | ||
"reason": "INDEX_CREATED", | ||
"at": "2018-09-05T16:22:02.488Z", | ||
"delayed": false, | ||
"allocation_status": "no_attempt" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
".kibana": { | ||
"shards": { | ||
"0": [ | ||
{ | ||
"state": "STARTED", | ||
"primary": true, | ||
"node": "PL_V6KgiSXCO-vI2Rm-B_A", | ||
"relocating_node": null, | ||
"shard": 0, | ||
"index": ".kibana", | ||
"allocation_id": { | ||
"id": "R4ydh8SOS4iPcKsbgMwkoA" | ||
} | ||
}, | ||
{ | ||
"state": "UNASSIGNED", | ||
"primary": false, | ||
"node": null, | ||
"relocating_node": null, | ||
"shard": 0, | ||
"index": ".kibana", | ||
"recovery_source": { | ||
"type": "PEER" | ||
}, | ||
"unassigned_info": { | ||
"reason": "REPLICA_ADDED", | ||
"at": "2018-09-05T16:23:21.269Z", | ||
"delayed": false, | ||
"allocation_status": "no_attempt" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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