diff --git a/doc/_admin-guide/120_Parser/003_JSON_parser/README.md b/doc/_admin-guide/120_Parser/003_JSON_parser/README.md index 29106e7b..435b584e 100644 --- a/doc/_admin-guide/120_Parser/003_JSON_parser/README.md +++ b/doc/_admin-guide/120_Parser/003_JSON_parser/README.md @@ -107,3 +107,13 @@ log { destination(d_json); }; ``` +The log declaration can also be modified to include typing specifications. + +```config +log { + source { ... }; + parser { json-parser(prefix('.json.')); }; + destination { file(... template("$(format-json .json.* .json.value=int64(${.json.value})\n")); }; +}; +``` +