packages/redis/data_stream/log/agent/stream/stream.yml.hbs (20 lines of code) (raw):
paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
tags:
{{#if preserve_original_event}}
- preserve_original_event
{{/if}}
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
exclude_files: [".gz$"]
exclude_lines: ["^\\s+[\\-`('.|_]"] # drop asciiart lines\n
{{#if processors}}
processors:
{{processors}}
{{/if}}