packages/juniper_srx/data_stream/log/agent/stream/logfile.yml.hbs (20 lines of code) (raw):
paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
prospector.scanner.exclude_files: ['\.gz$']
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}}
processors:
{{#if processors}}
{{processors}}
{{/if}}
- add_locale: ~