From 11243fe486584fc8d309e91f9430050ce5cb26ae Mon Sep 17 00:00:00 2001 From: Michael Wolf Date: Thu, 5 Dec 2024 20:43:33 -0800 Subject: [PATCH] Update template example in usage doc The given example for template.json in the usage doc for custom template and mapping setting section was incorrect, and did not work for both template types. This fixes the example to work with both. --- USAGE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/USAGE.md b/USAGE.md index b29cdaa637..9035456951 100644 --- a/USAGE.md +++ b/USAGE.md @@ -372,7 +372,9 @@ This is an example `template.json` to be passed with `--template-setting-legacy` "refresh_interval": "1s" } }, - "mappings": {} + "template": { + "mappings": {} + } } ```