AWS

Download 262
Last updated Feb 21, 2024

aws-s3-textfile

Scan specified text files from AWS S3.

aws-s3-textfile [profile=PROFILE] [bucket=BUCKET] OBJECT_PATH
profile=PROFILE
The identifier of AWS connect profile
bucket=BUCKET
S3 bucket name
OBJECT_PATH
S3 object path. GZ files are automatically decompressed. You can use wildcard for the file name part.

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • s3:GetObject

Output Fields

FieldTypeNameDescription
_fileStringFile pathObject key path
_timeDateFetch time
lineStringLine