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
Field | Type | Name | Description |
---|---|---|---|
_file | String | File path | Object key path |
_time | Date | Fetch time | |
line | String | Line |