Skip to content

Commit

Permalink
[aws custom logs] Updating file selector field to receive mutline con…
Browse files Browse the repository at this point in the history
…figurations (#10789)

* udpating file selector field to be mutliline

* udpating cahngelog
  • Loading branch information
gizas authored Aug 27, 2024
1 parent 32fc06f commit ddbe733
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/aws_logs/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "1.4.0"
changes:
- description: Update file_selectors field to be able to receive multiline configuration
type: enhancement
link: https://github.com/elastic/integrations/pull/10789
- version: "1.3.1"
changes:
- description: Update max_number_of_messages parameter description
Expand Down
15 changes: 14 additions & 1 deletion packages/aws_logs/data_stream/generic/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,24 @@ streams:
- name: file_selectors
type: yaml
title: File Selectors
multi: true
multi: false
required: false
show_user: false
description: >
If the SQS queue will have events that correspond to files that this integration shouldn’t process file_selectors can be used to limit the files that are downloaded. This is a list of selectors which are made up of regex and expand_event_list_from_field options. The regex should match the S3 object key in the SQS message, and the optional expand_event_list_from_field is the same as the global setting. If file_selectors is given, then any global expand_event_list_from_field value is ignored in favor of the ones specified in the file_selectors. Regex syntax is the same as the Go language. Files that don’t match one of the regexes won’t be processed. content_type, parsers, include_s3_metadata,max_bytes, buffer_size, and encoding may also be set for each file selector.
default: |
#- regex: /CloudTrail/
# parsers:
# - multiline:
# pattern: ^<Event
# negate: true
# match: after
#- regex: /CloudTrail-Digest/
# parsers:
# - multiline:
# pattern: ^<Event
# negate: true
# match: after
- name: fips_enabled
type: bool
Expand Down
2 changes: 1 addition & 1 deletion packages/aws_logs/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: aws_logs
title: Custom AWS Logs
description: Collect raw logs from AWS S3 or CloudWatch with Elastic Agent.
type: integration
version: "1.3.1"
version: "1.4.0"
categories:
- observability
- custom
Expand Down

0 comments on commit ddbe733

Please sign in to comment.