Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response when deleting autoscaling policy.",
"description": "",
"value": "{\n \"acknowledged\": true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response when retrieving autoscaling capacity.",
"description": "",
"value": "{\n policies: {}\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response when retrieving autoscaling policy.",
"description": "",
"value": "{\n \"roles\": <roles>,\n \"deciders\": <deciders>\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response when creating an autoscaling policy.",
"description": "",
"value": "{\n \"acknowledged\": true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to create an autoscaling policy.",
"method_request": "PUT /_autoscaling/policy/<name>",
"description": "",
"value": "{\n \"roles\": [],\n \"deciders\": {\n \"fixed\": {\n }\n }\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to create an autoscaling policy named `my_autoscaling_policy` using the fixed autoscaling decider, applying to the set of nodes having only the "data_hot" role.",
"method_request": "PUT /_autoscaling/policy/my_autoscaling_policy",
"description": "",
"value": "{\n \"roles\" : [ \"data_hot\" ],\n \"deciders\": {\n \"fixed\": {\n }\n }\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about data frame analytics jobs.",
"description": "",
"value": "id create_time type state\nclassifier_job_1 2020-02-12T11:49:09.594Z classification stopped\nclassifier_job_2 2020-02-12T11:49:14.479Z classification stopped\nclassifier_job_3 2020-02-12T11:49:16.928Z classification stopped\nclassifier_job_4 2020-02-12T11:49:19.127Z classification stopped\nclassifier_job_5 2020-02-12T11:49:21.349Z classification stopped"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about datafeeds.",
"description": "",
"value": "id state buckets.count search.count\ndatafeed-high_sum_total_sales stopped 743 7\ndatafeed-low_request_rate stopped 1457 3\ndatafeed-response_code_rates stopped 1460 18\ndatafeed-url_scanning stopped 1460 18"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about anomaly detectors.",
"description": "",
"value": "id s dpr mb\nhigh_sum_total_sales closed 14022 1.5mb\nlow_request_rate closed 1216 40.5kb\nresponse_code_rates closed 28146 132.7kb\nurl_scanning closed 28146 501.6kb"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about trained models.",
"description": "",
"value": "id created_by operations license create_time version\nddddd-1580216177138 _xpack 196 PLATINUM 2020-01-28T12:56:17.138Z 8.0.0\nflight-regress-1580215685537 _xpack 102 PLATINUM 2020-01-28T12:48:05.537Z 8.0.0\nlang_ident_model_1 _xpack 39629 BASIC 2019-12-05T12:28:34.594Z 7.6.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about tasks currently running in the cluster.",
"description": "",
"value": "action task_id parent_task_id type start_time timestamp running_time ip node\ncluster:monitor/tasks/lists[n] oTUltX4IQMOUUVeiohTt8A:124 oTUltX4IQMOUUVeiohTt8A:123 direct 1458585884904 01:48:24 44.1micros 127.0.0.1:9300 oTUltX4IQMOUUVeiohTt8A\ncluster:monitor/tasks/lists oTUltX4IQMOUUVeiohTt8A:123 - transport 1458585884904 01:48:24 186.2micros 127.0.0.1:9300 oTUltX4IQMOUUVeiohTt8A"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about transforms.",
"description": "",
"value": "[\n {\n \"id\" : \"ecommerce_transform\",\n \"state\" : \"started\",\n \"checkpoint\" : \"1\",\n \"documents_processed\" : \"705\",\n \"checkpoint_progress\" : \"100.00\",\n \"changes_last_detection_time\" : null\n }\n]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of deleting a configured collections of auto-follow patterns.",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of creating a follower index.",
"description": "",
"value": "{\n \"follow_index_created\" : true,\n \"follow_index_shards_acked\" : true,\n \"index_following_started\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to create a follower index.",
"method_request": "PUT /<follower_index>/_ccr/follow?wait_for_active_shards=1",
"description": "",
"value": "{\n \"remote_cluster\" : \"<remote_cluster>\",\n \"leader_index\" : \"<leader_index>\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to create a follower index named `.ds-logs-mysql-default_copy-2022-01-01-000001` which will use the data stream `the data stream logs-mysql-default_copy`.",
"method_request": "PUT /.ds-logs-mysql-default_copy-2022-01-01-000001/_ccr/follow",
"description": "",
"value": "{\n \"remote_cluster\" : \"remote_cluster\",\n \"leader_index\" : \".ds-logs-mysql-default-2022-01-01-000001\",\n \"data_stream_name\": \"logs-mysql-default_copy\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to create a follower index named `follower_index`.",
"method_request": "PUT /follower_index/_ccr/follow?wait_for_active_shards=1",
"description": "",
"value": "{\n \"remote_cluster\" : \"remote_cluster\",\n \"leader_index\" : \"leader_index\",\n \"settings\": {\n \"index.number_of_replicas\": 0\n },\n \"max_read_request_operation_count\" : 1024,\n \"max_outstanding_read_requests\" : 16,\n \"max_read_request_size\" : \"1024k\",\n \"max_write_request_operation_count\" : 32768,\n \"max_write_request_size\" : \"16k\",\n \"max_outstanding_write_requests\" : 8,\n \"max_write_buffer_count\" : 512,\n \"max_write_buffer_size\" : \"512k\",\n \"max_retry_delay\" : \"10s\",\n \"read_poll_timeout\" : \"30s\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about a follower index.",
"description": "",
"value": "{\n \"follower_indices\": [\n {\n \"follower_index\": \"follower_index\",\n \"remote_cluster\": \"remote_cluster\",\n \"leader_index\": \"leader_index\",\n \"status\": \"active\",\n \"parameters\": {\n \"max_read_request_operation_count\": 5120,\n \"max_read_request_size\": \"32mb\",\n \"max_outstanding_read_requests\": 12,\n \"max_write_request_operation_count\": 5120,\n \"max_write_request_size\": \"9223372036854775807b\",\n \"max_outstanding_write_requests\": 9,\n \"max_write_buffer_count\": 2147483647,\n \"max_write_buffer_size\": \"512mb\",\n \"max_retry_delay\": \"500ms\",\n \"read_poll_timeout\": \"1m\"\n }\n }\n ]\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving information about a follower index when it's paused.",
"description": "",
"value": "{\n \"follower_indices\": [\n {\n \"follower_index\": \"follower_index\",\n \"remote_cluster\": \"remote_cluster\",\n \"leader_index\": \"leader_index\",\n \"status\": \"paused\"\n }\n ]\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of retrieving stats of a follower index.",
"description": "",
"value": "{\n \"indices\" : [\n {\n \"index\" : \"follower_index\",\n \"total_global_checkpoint_lag\" : 256,\n \"shards\" : [\n {\n \"remote_cluster\" : \"remote_cluster\",\n \"leader_index\" : \"leader_index\",\n \"follower_index\" : \"follower_index\",\n \"shard_id\" : 0,\n \"leader_global_checkpoint\" : 1024,\n \"leader_max_seq_no\" : 1536,\n \"follower_global_checkpoint\" : 768,\n \"follower_max_seq_no\" : 896,\n \"last_requested_seq_no\" : 897,\n \"outstanding_read_requests\" : 8,\n \"outstanding_write_requests\" : 2,\n \"write_buffer_operation_count\" : 64,\n \"follower_mapping_version\" : 4,\n \"follower_settings_version\" : 2,\n \"follower_aliases_version\" : 8,\n \"total_read_time_millis\" : 32768,\n \"total_read_remote_exec_time_millis\" : 16384,\n \"successful_read_requests\" : 32,\n \"failed_read_requests\" : 0,\n \"operations_read\" : 896,\n \"bytes_read\" : 32768,\n \"total_write_time_millis\" : 16384,\n \"write_buffer_size_in_bytes\" : 1536,\n \"successful_write_requests\" : 16,\n \"failed_write_requests\" : 0,\n \"operations_written\" : 832,\n \"read_exceptions\" : [ ],\n \"time_since_last_read_millis\" : 8\n }\n ]\n }\n ]\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of removing the follower retention leases from the leader index.",
"description": "",
"value": "{\n \"_shards\" : {\n \"total\" : 1,\n \"successful\" : 1,\n \"failed\" : 0,\n \"failures\" : [ ]\n }\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "A successful response of removing the follower retention leases for `follower_index` from `leader_index`.",
"description": "",
"value": "{\n \"_shards\" : {\n \"total\" : 1,\n \"successful\" : 1,\n \"failed\" : 0,\n \"failures\" : [ ]\n }\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to remove the follower retention leases for `follower_index` from `leader_index`.",
"method_request": "POST /<leader_index>/_ccr/forget_follower",
"description": "",
"value": "{\n \"follower_cluster\" : \"<follower_cluster>\",\n \"follower_index\" : \"<follower_index>\",\n \"follower_index_uuid\" : \"<follower_index_uuid>\",\n \"leader_remote_cluster\" : \"<leader_remote_cluster>\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "A request to remove the follower retention leases for `follower_index` from `leader_index`.",
"method_request": "POST /leader_index/_ccr/forget_follower",
"description": "",
"value": "{\n \"follower_cluster\" : \"follower_cluster\",\n \"follower_index\" : \"follower_index\",\n \"follower_index_uuid\" : \"vYpnaWPRQB6mNspmoCeYyA\",\n \"leader_remote_cluster\" : \"leader_cluster\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:95",
"description": "",
"value": "{\n \"patterns\": [\n {\n \"name\": \"my_auto_follow_pattern\",\n \"pattern\": {\n \"active\": true,\n \"remote_cluster\" : \"remote_cluster\",\n \"leader_index_patterns\" :\n [\n \"leader_index*\"\n ],\n \"leader_index_exclusion_patterns\":\n [\n \"leader_index_001\"\n ],\n \"follow_index_pattern\" : \"{{leader_index}}-follower\"\n }\n }\n ]\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/auto-follow/pause-auto-follow-pattern.asciidoc:87",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/follow/post-pause-follow.asciidoc:75",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:142",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:14",
"method_request": "PUT /_ccr/auto_follow/<auto_follow_pattern_name>",
"description": "",
"value": "{\n \"remote_cluster\" : \"<remote_cluster>\",\n \"leader_index_patterns\" :\n [\n \"<leader_index_pattern>\"\n ],\n \"leader_index_exclusion_patterns\":\n [\n \"<leader_index_exclusion_pattern>\"\n ],\n \"follow_index_pattern\" : \"<follow_index_pattern>\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:113",
"method_request": "PUT /_ccr/auto_follow/my_auto_follow_pattern",
"description": "",
"value": "{\n \"remote_cluster\" : \"remote_cluster\",\n \"leader_index_patterns\" :\n [\n \"leader_index*\"\n ],\n \"follow_index_pattern\" : \"{{leader_index}}-follower\",\n \"settings\": {\n \"index.number_of_replicas\": 0\n },\n \"max_read_request_operation_count\" : 1024,\n \"max_outstanding_read_requests\" : 16,\n \"max_read_request_size\" : \"1024k\",\n \"max_write_request_operation_count\" : 32768,\n \"max_write_request_size\" : \"16k\",\n \"max_outstanding_write_requests\" : 8,\n \"max_write_buffer_count\" : 512,\n \"max_write_buffer_size\" : \"512k\",\n \"max_retry_delay\" : \"10s\",\n \"read_poll_timeout\" : \"30s\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/auto-follow/resume-auto-follow-pattern.asciidoc:88",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/follow/post-resume-follow.asciidoc:103",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "ccr/apis/follow/post-resume-follow.asciidoc:37",
"method_request": "POST /<follower_index>/_ccr/resume_follow",
"description": "",
"value": "{\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "ccr/apis/follow/post-resume-follow.asciidoc:84",
"method_request": "POST /follower_index/_ccr/resume_follow",
"description": "",
"value": "{\n \"max_read_request_operation_count\" : 1024,\n \"max_outstanding_read_requests\" : 16,\n \"max_read_request_size\" : \"1024k\",\n \"max_write_request_operation_count\" : 32768,\n \"max_write_request_size\" : \"16k\",\n \"max_outstanding_write_requests\" : 8,\n \"max_write_buffer_count\" : 512,\n \"max_write_buffer_size\" : \"512k\",\n \"max_retry_delay\" : \"10s\",\n \"read_poll_timeout\" : \"30s\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/get-ccr-stats.asciidoc:110",
"description": "",
"value": "{\n \"auto_follow_stats\" : {\n \"number_of_failed_follow_indices\" : 0,\n \"number_of_failed_remote_cluster_state_requests\" : 0,\n \"number_of_successful_follow_indices\" : 1,\n \"recent_auto_follow_errors\" : [],\n \"auto_followed_clusters\" : []\n },\n \"follow_stats\" : {\n \"indices\" : [\n {\n \"index\" : \"follower_index\",\n \"total_global_checkpoint_lag\" : 256,\n \"shards\" : [\n {\n \"remote_cluster\" : \"remote_cluster\",\n \"leader_index\" : \"leader_index\",\n \"follower_index\" : \"follower_index\",\n \"shard_id\" : 0,\n \"leader_global_checkpoint\" : 1024,\n \"leader_max_seq_no\" : 1536,\n \"follower_global_checkpoint\" : 768,\n \"follower_max_seq_no\" : 896,\n \"last_requested_seq_no\" : 897,\n \"outstanding_read_requests\" : 8,\n \"outstanding_write_requests\" : 2,\n \"write_buffer_operation_count\" : 64,\n \"follower_mapping_version\" : 4,\n \"follower_settings_version\" : 2,\n \"follower_aliases_version\" : 8,\n \"total_read_time_millis\" : 32768,\n \"total_read_remote_exec_time_millis\" : 16384,\n \"successful_read_requests\" : 32,\n \"failed_read_requests\" : 0,\n \"operations_read\" : 896,\n \"bytes_read\" : 32768,\n \"total_write_time_millis\" : 16384,\n \"write_buffer_size_in_bytes\" : 1536,\n \"successful_write_requests\" : 16,\n \"failed_write_requests\" : 0,\n \"operations_written\" : 832,\n \"read_exceptions\" : [ ],\n \"time_since_last_read_millis\" : 8\n }\n ]\n }\n ]\n }\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "ccr/apis/follow/post-unfollow.asciidoc:82",
"description": "",
"value": "{\n \"acknowledged\" : true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "cluster/allocation-explain.asciidoc:115",
"description": "",
"value": "{\n \"index\" : \"my-index-000001\",\n \"shard\" : 0,\n \"primary\" : true,\n \"current_state\" : \"unassigned\", <1>\n \"unassigned_info\" : {\n \"reason\" : \"INDEX_CREATED\", <2>\n \"at\" : \"2017-01-04T18:08:16.600Z\",\n \"last_allocation_status\" : \"no\"\n },\n \"can_allocate\" : \"no\", <3>\n \"allocate_explanation\" : \"Elasticsearch isn't allowed to allocate this shard to any of the nodes in the cluster. Choose a node to which you expect this shard to be allocated, find this node in the node-by-node explanation, and address the reasons which prevent Elasticsearch from allocating this shard there.\",\n \"node_allocation_decisions\" : [\n {\n \"node_id\" : \"8qt2rY-pT6KNZB3-hGfLnw\",\n \"node_name\" : \"node-0\",\n \"transport_address\" : \"127.0.0.1:9401\",\n \"roles\" : [\"data\", \"data_cold\", \"data_content\", \"data_frozen\", \"data_hot\", \"data_warm\", \"ingest\", \"master\", \"ml\", \"remote_cluster_client\", \"transform\"],\n \"node_attributes\" : {},\n \"node_decision\" : \"no\", <4>\n \"weight_ranking\" : 1,\n \"deciders\" : [\n {\n \"decider\" : \"filter\", <5>\n \"decision\" : \"NO\",\n \"explanation\" : \"node does not match index setting [index.routing.allocation.include] filters [_name:\\\"nonexistent_node\\\"]\" <6>\n }\n ]\n }\n ]\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "cluster/allocation-explain.asciidoc:10",
"method_request": "GET _cluster/allocation/explain",
"description": "",
"value": "{\n \"index\": \"my-index-000001\",\n \"shard\": 0,\n \"primary\": false,\n \"current_node\": \"my-node\"\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"summary": "cluster/allocation-explain.asciidoc:101",
"method_request": "GET _cluster/allocation/explain",
"description": "",
"value": "{\n \"index\": \"my-index-000001\",\n \"shard\": 0,\n \"primary\": true\n}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"summary": "cluster/health.asciidoc:165",
"description": "",
"value": "{\n \"cluster_name\" : \"testcluster\",\n \"status\" : \"yellow\",\n \"timed_out\" : false,\n \"number_of_nodes\" : 1,\n \"number_of_data_nodes\" : 1,\n \"active_primary_shards\" : 1,\n \"active_shards\" : 1,\n \"relocating_shards\" : 0,\n \"initializing_shards\" : 0,\n \"unassigned_shards\" : 1,\n \"delayed_unassigned_shards\": 0,\n \"number_of_pending_tasks\" : 0,\n \"number_of_in_flight_fetch\": 0,\n \"task_max_waiting_in_queue_millis\": 0,\n \"active_shards_percent_as_number\": 50.0\n}"
}
Loading