Skip to content

Commit 5f4706d

Browse files
sihoranTom
authored andcommitted
Replaced double quotes with single quotes
Using double quotes produces the error `[record accessor] syntax error, unexpected end of file, expecting STRING or INTEGER at '$kubernetes['` Signed-off-by: sihoran <[email protected]> Signed-off-by: Tom <[email protected]>
1 parent e31ed91 commit 5f4706d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pipeline/outputs/elasticsearch.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,8 @@ The following snippet demonstrates using the namespace name as extracted by the
296296
Match *
297297
# ...
298298
Logstash_Prefix logstash
299-
Logstash_Prefix_Key $kubernetes["namespace_name"]
299+
Logstash_Prefix_Key $kubernetes['namespace_name']
300300
# ...
301301
```
302302

303-
For records that don't have the field `kubernetes.namespace_name`, the default prefix
304-
`logstash` will be used.
303+
For records that do nor have the field `kubernetes.namespace_name`, the default prefix, `logstash` will be used.

0 commit comments

Comments
 (0)