From 3bc801163e852316e8bd13e689ba362fbd6cedcc Mon Sep 17 00:00:00 2001 From: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Date: Tue, 15 Dec 2020 09:09:11 -0800 Subject: [PATCH] Update json parser readme (#8532) (cherry picked from commit d9d6a194b1f9d0df5d30440cacc19bd350dda951) --- plugins/parsers/json/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/parsers/json/README.md b/plugins/parsers/json/README.md index d39a9d6bf77d9..01ddf673eec4d 100644 --- a/plugins/parsers/json/README.md +++ b/plugins/parsers/json/README.md @@ -3,8 +3,8 @@ The JSON data format parses a [JSON][json] object or an array of objects into metric fields. -**NOTE:** All JSON numbers are converted to float fields. JSON String are -ignored unless specified in the `tag_key` or `json_string_fields` options. +**NOTE:** All JSON numbers are converted to float fields. JSON strings and booleans are +ignored unless specified in the `tag_key` or `json_string_fields` options. ### Configuration @@ -36,7 +36,7 @@ ignored unless specified in the `tag_key` or `json_string_fields` options. "my_tag_2" ] - ## Array of glob pattern strings keys that should be added as string fields. + ## Array of glob pattern strings or booleans keys that should be added as string fields. json_string_fields = [] ## Name key is the key to use as the measurement name.