elasticsearch/docs/reference/monitoring
Ramdas Potale 845f7a11ed
updated correct API to get index templates etc (#93793)
* updated correct API to get index templates etc

Hi, I think documentation needs correction on below points.
1. updated correct API to get index template
2.  on line 18, it should be index pattern instead of template pattern
3.  index pattern should have es version as 8 which matches elasticsearch version, also updated index patterns in API request payload

* fix: grammatical correction to line 18

removed "the" from line 18 which is not very accuarate

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

* additional corrections to the docs as suggested by @abdonpijpelink

. use the `_index_template` endpoint instead of just `_template`
. change `order` to `priority`

* settings need to be wrapped inside template obect

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-02-20 16:47:34 +01:00
..
images [DOCS] Merge monitoring sections in Elasticsearch book (#46885) 2019-09-24 10:35:06 -07:00
collecting-monitoring-data.asciidoc Update setting deprecation messages to remove major release references (#83528) 2022-02-04 13:53:20 -05:00
collectors.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
configuring-filebeat.asciidoc Metricbeat monitoring collection suggest to enable local exporters (#77409) 2022-11-23 12:41:41 +01:00
configuring-metricbeat.asciidoc Metricbeat monitoring collection suggest to enable local exporters (#77409) 2022-11-23 12:41:41 +01:00
exporters.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
how-monitoring-works.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
http-export.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
index.asciidoc [DOCS] Adding Getting Help section to troubleshooting docs (#87095) 2022-05-25 15:58:41 -04:00
indices.asciidoc updated correct API to get index templates etc (#93793) 2023-02-20 16:47:34 +01:00
local-export.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
overview.asciidoc [DOCS] Merge monitoring sections in Elasticsearch book (#46885) 2019-09-24 10:35:06 -07:00
pause-export.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
production.asciidoc [DOCS] Clarify BWC of monitoring clusters (#63151) 2020-10-02 14:06:20 -07:00
troubleshooting.asciidoc [DOCS] Adding Getting Help section to troubleshooting docs (#87095) 2022-05-25 15:58:41 -04:00