data-prepper icon indicating copy to clipboard operation
data-prepper copied to clipboard

Support regex patterns for the exclude_suffix in s3 scan

Open graytaylor0 opened this issue 10 months ago • 1 comments

Is your feature request related to a problem? Please describe. As a user of the s3 source with scan, I would like to be able to exclude objects from processing based on a regex pattern instead of a static string. This would allow me to filter out all objects from folders like

exclude_suffix:
  - "folder-name/.*"

Describe alternatives you've considered (Optional) A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

graytaylor0 avatar Apr 23 '24 21:04 graytaylor0

Perhaps we can do this with an Ant-style/glob pattern.

dlvenable avatar Apr 30 '24 19:04 dlvenable