Example configuration shipper
Opened this issue · 0 comments
_Hi
I am starting the tests and am having an error to include the correct syntax.
Please, can you give an example of how to do this shipper configuration?
Thank you very much_
dockbeat.yml
shipper:
...
-# Optional fields that you can specify to add additional information to the
-# output. Fields can be scalar values, arrays, dictionaries, or any nested
-# combination of these.
env:
fields:
name:new
type: string
or
fields:
env: staging
name: count2
type: int
required: true
-# If this option is set to true, the custom fields are stored as top-level
-# fields in the output document instead of being grouped under a fields
-# sub-dictionary. Default is false.
fields_under_root: true
Log Docker:
Loading config file error: YAML config parsing failed on /etc/dockbeat/dockbeat.yml: yaml: line 229: found character that cannot start any token. Exiting.