Skip to content

Commit

Permalink
Adding Console Definitions From Elasticsearch to Kibana for 7.9 (#72556)
Browse files Browse the repository at this point in the history
* Fixed issue with generated files.

* Added xpack definitions

* Added overrides for the endpoint request bodies.

* Fixed overrides and tested them.

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
John Dorlus and elasticmachine authored Jul 31, 2020
1 parent 8f6e055 commit cc91e3d
Show file tree
Hide file tree
Showing 107 changed files with 779 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"patterns": [
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"cluster.delete_voting_config_exclusions": {
"url_params": {
"wait_for_removal": "__flag__"
},
"methods": [
"DELETE"
],
"patterns": [
"_cluster/voting_config_exclusions"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"cluster.exists_component_template": {
"url_params": {
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"HEAD"
],
"patterns": [
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"cluster.get_component_template": {
"url_params": {
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"GET"
],
"patterns": [
"_component_template",
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"cluster.post_voting_config_exclusions": {
"url_params": {
"node_ids": "",
"node_names": "",
"timeout": ""
},
"methods": [
"POST"
],
"patterns": [
"_cluster/voting_config_exclusions"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"cluster.put_component_template": {
"url_params": {
"create": "__flag__",
"timeout": "",
"master_timeout": ""
},
"methods": [
"PUT",
"POST"
],
"patterns": [
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
],
"patterns": [
"_count",
"{indices}/_count",
"{indices}/{type}/_count"
"{indices}/_count"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"dangling_indices.delete_dangling_index": {
"url_params": {
"accept_data_loss": "__flag__",
"timeout": "",
"master_timeout": ""
},
"methods": [
"DELETE"
],
"patterns": [
"_dangling/{index_uuid}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"dangling_indices.import_dangling_index": {
"url_params": {
"accept_data_loss": "__flag__",
"timeout": "",
"master_timeout": ""
},
"methods": [
"POST"
],
"patterns": [
"_dangling/{index_uuid}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"dangling_indices.list_dangling_indices": {
"methods": [
"GET"
],
"patterns": [
"_dangling"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"POST"
],
"patterns": [
"{indices}/_delete_by_query",
"{indices}/{type}/_delete_by_query"
"{indices}/_delete_by_query"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"HEAD"
],
"patterns": [
"{indices}/_doc/{id}",
"{indices}/{type}/{id}"
"{indices}/_doc/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"POST"
],
"patterns": [
"{indices}/_explain/{id}",
"{indices}/{type}/{id}/_explain"
"{indices}/_explain/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"GET"
],
"patterns": [
"{indices}/_doc/{id}",
"{indices}/{type}/{id}"
"{indices}/_doc/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
],
"patterns": [
"_script_context"
]
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
],
"patterns": [
"_script_language"
]
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"GET"
],
"patterns": [
"{indices}/_source/{id}",
"{indices}/{type}/{id}/_source"
"{indices}/_source/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
],
"patterns": [
"{indices}/_doc/{id}",
"{indices}/_doc",
"{indices}/{type}",
"{indices}/{type}/{id}"
"{indices}/_doc"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"indices.add_block": {
"url_params": {
"timeout": "",
"master_timeout": "",
"ignore_unavailable": "__flag__",
"allow_no_indices": "__flag__",
"expand_wildcards": [
"open",
"closed",
"hidden",
"none",
"all"
]
},
"methods": [
"PUT"
],
"patterns": [
"{indices}/_block/{block}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"indices.create_data_stream": {
"methods": [
"PUT"
],
"patterns": [
"_data_stream/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"indices.data_streams_stats": {
"url_params": {
"expand_wildcards": [
"open",
"closed",
"hidden",
"none",
"all"
],
"forbid_closed_indices": "__flag__"
},
"methods": [
"GET"
],
"patterns": [
"_data_stream/_stats",
"_data_stream/{name}/_stats"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"indices.delete_data_stream": {
"methods": [
"DELETE"
],
"patterns": [
"_data_stream/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"indices.delete_index_template": {
"url_params": {
"timeout": "",
"master_timeout": ""
},
"methods": [
"DELETE"
],
"patterns": [
"_index_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"indices.exists_index_template": {
"url_params": {
"flat_settings": "__flag__",
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"HEAD"
],
"patterns": [
"_index_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"indices.get_data_stream": {
"methods": [
"GET"
],
"patterns": [
"_data_stream",
"_data_stream/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
],
"patterns": [
"_mapping/field/{fields}",
"{indices}/_mapping/field/{fields}",
"_mapping/{type}/field/{fields}",
"{indices}/_mapping/{type}/field/{fields}"
"{indices}/_mapping/field/{fields}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"indices.get_index_template": {
"url_params": {
"flat_settings": "__flag__",
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"GET"
],
"patterns": [
"_index_template",
"_index_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
],
"patterns": [
"_mapping",
"{indices}/_mapping",
"_mapping/{type}",
"{indices}/_mapping/{type}"
"{indices}/_mapping"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html"
}
Expand Down
Loading

0 comments on commit cc91e3d

Please sign in to comment.