Code samples should be valid and clean, copy-paste-friendly.
output-plugins/elasticsearch.md contains 2 json code blocks that include the request METHOD /endpoint
We should separate request METHOD /endpoint from the JSON payload in these examples.
Originally posted by @jstirnaman in influxdata/docs-v2#7531 (comment)
Code samples should be valid and clean, copy-paste-friendly.
output-plugins/elasticsearch.mdcontains 2jsoncode blocks that include the requestMETHOD /endpointWe should separate request
METHOD /endpointfrom the JSON payload in these examples.Originally posted by @jstirnaman in influxdata/docs-v2#7531 (comment)