From d9fab7de4414540730d9c3befab8ad48db273731 Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:18:51 -0700 Subject: [PATCH] Add another example --- pkg/ottl/ottlfuncs/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/ottl/ottlfuncs/README.md b/pkg/ottl/ottlfuncs/README.md index 588de0da9c2a..ce970b69f79c 100644 --- a/pkg/ottl/ottlfuncs/README.md +++ b/pkg/ottl/ottlfuncs/README.md @@ -173,6 +173,9 @@ Examples: - `flatten(cache, "k8s", 4)` +- `flatten(body, depth=2)` + + ### keep_keys `keep_keys(target, keys[])`