Skip to content

Commit fb5f5f9

Browse files
authored
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]>
1 parent 1779b5c commit fb5f5f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/outputs/elasticsearch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ The following snippet demonstrates using the namespace name as extracted by the
250250
Match *
251251
# ...
252252
Logstash_Prefix logstash
253-
Logstash_Prefix_Key $kubernetes["namespace_name"]
253+
Logstash_Prefix_Key $kubernetes['namespace_name']
254254
# ...
255255
```
256256

257-
For records that do nor have the field `kubernetes.namespace_name`, the default prefix, `logstash` will be used.
257+
For records that do nor have the field `kubernetes.namespace_name`, the default prefix, `logstash` will be used.

0 commit comments

Comments
 (0)