AWS S3
Amberflo provides you with an AWS S3 bucket with access rights and controls to write meters.
It automatically picks up the meters for processing as they arrive into the bucket. Failure reports are written back into the bucket.
There are many ways to write to S3. You can use AWS S3 SDK, AWS Glue, Logstash, Fluentd, and other tools.
Please contact us to get the S3 bucket provisioned for your account.
The meter records you send to the S3 bucket should be of the same standardized format as accepted by the ingest API. Here are some examples:
We also support NDJSON format (JSON separated by a newline)
The S3 object key should have the date to allow easier troubleshooting (e.g.: /ingest/amberdata/06-07-2022/0000a2e4-e6ad-11ec-8293-6a8da1c4f9f0);
For troubleshooting issues with ingesting through S3, Amberflo will generate an S3 file with the failure reason in the following location:
s3://<bucket_name>/failed-requests/<date>/<original uri>.reason.txt
You can write compressed files in gzip format with .gz extensions. Amberflo will decompress while ingesting if the file extension is ".gz" .