Skip to content

Commit

Permalink
fix indent (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Sirianni authored Jun 25, 2021
1 parent baa994e commit 8b21953
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 54 deletions.
26 changes: 13 additions & 13 deletions docs/operators/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Add a string to the record

```yaml
- type: add
field: key2
value: val2
field: key2
value: val2
```
<table>
Expand Down Expand Up @@ -63,8 +63,8 @@ Add a value to the record using an expression

```yaml
- type: add
field: key2
value: EXPR($.key1 + "_suffix")
field: key2
value: EXPR($.key1 + "_suffix")
```
<table>
Expand Down Expand Up @@ -105,9 +105,9 @@ Add an object to the record

```yaml
- type: add
field: key2
value:
nestedkey: nestedvalue
field: key2
value:
nestedkey: nestedvalue
```
<table>
Expand Down Expand Up @@ -150,8 +150,8 @@ Add a value to labels

```yaml
- type: add
field: $labels.key2
value: val2
field: $labels.key2
value: val2
```
<table>
Expand Down Expand Up @@ -193,8 +193,8 @@ Add a value to resource

```yaml
- type: add
field: $resource.key2
value: val2
field: $resource.key2
value: val2
```
<table>
Expand Down Expand Up @@ -235,8 +235,8 @@ Add a value to resource using an expression

```yaml
- type: add
field: $resource.key2
value: EXPR($.key1 + "_suffix")
field: $resource.key2
value: EXPR($.key1 + "_suffix")
```
<table>
Expand Down
16 changes: 8 additions & 8 deletions docs/operators/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Copy a value from the record to resource

```yaml
- type: copy
from: key
to: $resource.newkey
from: key
to: $resource.newkey
```
<table>
Expand Down Expand Up @@ -63,8 +63,8 @@ Copy a value from the record to resource
Copy a value from the record to labels
```yaml
- type: copy
from: key2
to: $labels.newkey
from: key2
to: $labels.newkey
```
<table>
Expand Down Expand Up @@ -108,8 +108,8 @@ Copy a value from the record to labels
Copy a value from labels to the record
```yaml
- type: copy
from: $labels.key
to: newkey
from: $labels.key
to: newkey
```
<table>
Expand Down Expand Up @@ -156,8 +156,8 @@ Copy a value from labels to the record
Copy a value within the record
```yaml
- type: copy
from: obj.nested
to: newkey
from: obj.nested
to: newkey
```
<table>
Expand Down
4 changes: 2 additions & 2 deletions docs/operators/flatten.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flatten an object to the base of the record

```yaml
- type: flatten
field: key1
field: key1
```
<table>
Expand Down Expand Up @@ -70,7 +70,7 @@ Flatten an object within another object

```yaml
- type: flatten
field: wrapper.key1
field: wrapper.key1
```
<table>
Expand Down
24 changes: 12 additions & 12 deletions docs/operators/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Example usage:
Rename value
```yaml
- type: move
from: key1
to: key3
from: key1
to: key3
```
<table>
Expand Down Expand Up @@ -63,8 +63,8 @@ Move a value from the record to resource

```yaml
- type: move
from: uuid
to: $resoruce.uuid
from: uuid
to: $resoruce.uuid
```
<table>
Expand Down Expand Up @@ -105,8 +105,8 @@ Move a value from the record to labels

```yaml
- type: move
from: ip
to: $labels.ip
from: ip
to: $labels.ip
```
<table>
Expand Down Expand Up @@ -146,8 +146,8 @@ Move a value from the record to labels
Replace the record with an individual value nested within the record
```yaml
- type: move
from: log
to: $record
from: log
to: $record
```
<table>
Expand Down Expand Up @@ -185,8 +185,8 @@ Replace the record with an individual value nested within the record
Remove a layer from the record
```yaml
- type: move
from: wrapper
to: $record
from: wrapper
to: $record
```
<table>
Expand Down Expand Up @@ -233,8 +233,8 @@ Remove a layer from the record
Merge a layer to the record
```yaml
- type: move
from: wrapper
to: $record
from: wrapper
to: $record
```
<table>
Expand Down
8 changes: 4 additions & 4 deletions docs/operators/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Example usage:
Remove a value from the record
```yaml
- type: remove
field: key1
field: key1
```
<table>
Expand Down Expand Up @@ -57,7 +57,7 @@ Remove a value from the record
Remove an object from the record
```yaml
- type: remove
field: object
field: object
```
<table>
Expand Down Expand Up @@ -100,7 +100,7 @@ Remove an object from the record
Remove a value from labels
```yaml
- type: remove
field: $labels.otherkey
field: $labels.otherkey
```
<table>
Expand Down Expand Up @@ -143,7 +143,7 @@ Remove a value from resource

```yaml
- type: remove
field: $resource.otherkey
field: $resource.otherkey
```
<table>
Expand Down
30 changes: 15 additions & 15 deletions docs/operators/retain.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Retain fields in the record

```yaml
- type: retain
fields:
- key1
- key2
fields:
- key1
- key2
```
<table>
Expand Down Expand Up @@ -66,8 +66,8 @@ Retain an object in the record

```yaml
- type: retain
fields:
- object
fields:
- object
```
<table>
Expand Down Expand Up @@ -112,9 +112,9 @@ Retain fields from resource

```yaml
- type: retain
fields:
- $resource.key1
- $resource.key2
fields:
- $resource.key1
- $resource.key2
```
<table>
Expand Down Expand Up @@ -162,9 +162,9 @@ Retain fields from labels

```yaml
- type: retain
fields:
- $labels.key1
- $labels.key2
fields:
- $labels.key1
- $labels.key2
```
<table>
Expand Down Expand Up @@ -211,10 +211,10 @@ Retain fields from all sources

```yaml
- type: retain
fields:
- $resource.key1
- $labels.key3
- key5
fields:
- $resource.key1
- $labels.key3
- key5
```
<table>
Expand Down

0 comments on commit 8b21953

Please sign in to comment.