Skip to content

Commit

Permalink
fixes to cel templates to address install errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kgeller committed Oct 18, 2024
1 parent 2656e5a commit ced4b7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,4 @@ resource.rate_limit.burst: {{resource_rate_limit_burst}}
{{#if enable_request_tracer}}
resource.tracer.filename: "../../logs/cel/http-request-trace-*.ndjson"
resource.tracer.maxbackups: 5
{{/if}}

{{#if tags}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{/if}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- input: cel
template_path: cel.yml.hbs
title: |
{{ data_stream_title }}
description: |
Expand Down Expand Up @@ -308,21 +309,6 @@
show_user: false
multi: false
required: false
- name: processors
type: yaml
title: Processors
multi: false
required: false
show_user: false
description: >
Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html) for details.
- name: tags
type: text
title: Tags
multi: true
show_user: false
default:
- forwarded
- name: enable_request_tracer
type: bool
title: Enable request tracing
Expand Down

0 comments on commit ced4b7e

Please sign in to comment.