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
collecting-monitoring-data.asciidoc
collectors.asciidoc
configuring-filebeat.asciidoc
configuring-metricbeat.asciidoc
exporters.asciidoc
how-monitoring-works.asciidoc
http-export.asciidoc
index.asciidoc
indices.asciidoc
local-export.asciidoc
overview.asciidoc
pause-export.asciidoc
production.asciidoc
troubleshooting.asciidoc