You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am using Filebeat to read logs from an S3 bucket and want to process only files from the last hour using the ignore_older option. However, Filebeat is processing all files in the folder, regardless of their age.
Steps to Reproduce:
Create an S3 bucket SOME_BUCKET and upload log files with timestamps older than 1 hour.
$aws s3api list-objects --bucket SOME_BUCKET --prefix SOME/FOLDER
I'm providing a provisional answer as I've not tested it, but ignore_older will be available in 8.18.x and it has been backported to 8.17.x #41817 (comment)
Description:
I am using Filebeat to read logs from an S3 bucket and want to process only files from the last hour using the ignore_older option. However, Filebeat is processing all files in the folder, regardless of their age.
Steps to Reproduce:
$aws s3api list-objects --bucket SOME_BUCKET --prefix SOME/FOLDER
Expected Behavior:
Filebeat should only process files that have been modified within the last hour, as per the ignore_older setting.
Actual Behavior:
Filebeat processes all files in the specified folder, even those much older than 1 hour.
Logs & Debug Output:
Example of a processed file that is older than 1 hour:
Corresponding debug log:
Environment:
Filebeat Version: 8.17.2
The text was updated successfully, but these errors were encountered: