CREATE DATABASE IF NOT EXISTS aws;
USE aws;
CREATE TABLE IF NOT EXISTS aws_aggregation (
       time TIMESTAMP,
       name VARCHAR(128),
       value INTEGER UNSIGNED,
       aggregate VARCHAR(128),
       demographic VARCHAR(128),
       metric_type VARCHAR(128),
       product VARCHAR(128),

       INDEX aws_metrics_idx (time)
);

CREATE DATABASE IF NOT EXISTS aws;
USE aws;
CREATE TABLE IF NOT EXISTS aws_aggregation (
       time TIMESTAMP,
       name VARCHAR(128),
       value INTEGER UNSIGNED,
       aggregate VARCHAR(128),
       demographic VARCHAR(128),
       metric_type VARCHAR(128),
       event_type VARCHAR(128),
       msg VARCHAR(128),
       item VARCHAR(128),
       product VARCHAR(128),

       INDEX aws_metrics_idx (time)
);

Add events to aggregations table.
Add events to aggregations table.

Add columns to the aggregations table to cover the fields that are in
event points.
