You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/filters/nest.md
+5-11Lines changed: 5 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -74,19 +74,17 @@ The plugin supports the following configuration parameters:
74
74
75
75
## Get started
76
76
77
-
To start filtering records, run the filter from the command line or through the configuration file. The following example invokes the
78
-
[Memory Usage Input Plugin](../inputs/memory-metrics.md), which outputs the following:
77
+
To start filtering records, run the filter from the command line or through the configuration file. The following example invokes the [Memory Usage input plugin](../inputs/memory-metrics.md), which outputs the following:
Using command line mode requires quotes to parse the wildcard properly. The use
89
-
of a configuration file is recommended.
87
+
Using the command line mode requires quotes to parse the wildcard properly. The use of a configuration file is recommended.
90
88
91
89
The following command loads the _mem_ plugin. Then the _nest_ filter matches the
92
90
wildcard rule to the keys and nests the keys matching `Mem.*` under the new key
@@ -154,8 +152,7 @@ The output of both the command line and configuration invocations should be iden
154
152
155
153
## Example 2 - `nest` and `lift` undo
156
154
157
-
This example nests all `Mem.*` and `Swap.*` items under the `Stats` key and then
158
-
reverses these actions with a `lift` operation. The output appears unchanged.
155
+
This example nests all `Mem.*` and `Swap.*` items under the `Stats` key and then reverses these actions with a `lift` operation. The output appears unchanged.
159
156
160
157
### `nest` and `lift` undo configuration file
161
158
@@ -322,10 +319,7 @@ pipeline:
322
319
323
320
## Example 4 - multiple `nest` and `lift` filters with prefix
324
321
325
-
This example uses the 3-level deep nesting of Example 2 and applies the
326
-
`lift`filter three times to reverse the operations. The end result is that all
327
-
records are at the top level, without nesting, again. One prefix is added for each
328
-
level that's lifted.
322
+
This example uses the 3-level deep nesting of Example 2 and applies the `lift` filter three times to reverse the operations. The end result is that all records are at the top level, without nesting, again. One prefix is added for each level that's lifted.
0 commit comments