Amazon S3

Hevo lets you load data from files in an S3 bucket into your data warehouse.

Connection Settings

Provide S3 connection details on S3 Connection Settings page. You will have the following options in the connection details block:

  1. Pipeline Name: A unique name for the Pipeline.
  2. Access Key ID: AWS access key ID which has permissions to read from the given bucket
  3. Secret Access Key: AWS Secret Access Key for the above Access Key ID
  4. Bucket: The name of the bucket from which you want to ingest data.
  5. Bucket Region: Choose the AWS region where the bucket is located.
  6. Path Prefix: Path Prefix for the data directory. By default, the files are listed from the root of the directory.
  7. File Format: The format of the data file in the Source. Hevo currently supports JSON, CSV, AVRO formats. Contact Hevo Support if your Source data is in another format. Based on the format you select, you must specify some additional settings:
    • CSV:
      1. Specify the Field Delimiter. This is the character on which fields in each line are separated. For example, `\t`, or `,`).
      2. Disable the Treat First Row As Column Headers option if the Source data file does not contain column headers. Hevo, then, automatically creates these during ingestion. Default setting: Enabled.
        See Example below.

      3. Enable the Create Event Types from folders option if the path prefix has subdirectories containing files in different formats. Hevo reads each subdirectory as a separate Event Type.

      Note: Files lying at the prefix path (and not in a subdirectory) are ignored.

    • JSON:
      • Enable the Create Event Types from folders option if the path prefix has subdirectories containing files in different formats. Hevo reads each of the subdirectories as a separate Event Type.

        Note: Files lying at the prefix path (and not in a subdirectory) are ignored.

  8. Advance Settings
    • Delay in minutes: The time (in minutes) that Hevo must wait post-authentication for the files to be available for ingestion.

Things to Note

  • Gzipped files are automatically unzipped on ingestion by Hevo.
  • Files are re-ingested on update.

Example: Automatic Column Header Creation for CSV Tables

Consider the following data in CSV format, which has no column headers.

  CLAY COUNTY,32003,11973623
  CLAY COUNTY,32003,46448094
  CLAY COUNTY,32003,55206893
  CLAY COUNTY,32003,15333743
  SUWANNEE COUNTY,32060,85751490
  SUWANNEE COUNTY,32062,50972562
  ST JOHNS COUNTY,846636,32033,
  NASSAU COUNTY,32025,88310177
  NASSAU COUNTY,32041,34865452

If you disable the Treat first row as column headers option, Hevo auto-generates the column headers, as seen in the schema map here:

Column headers generated by Hevo for CSV data

The record in the Destination appears as follows:

Destination record with auto-generated column headers

Last updated on 23 Sep 2020