Export Event Data from MATRIXX Event Files

The event_export.yaml file is provided for you to use with the data-export image to export event data from MATRIXX Event Files (MEFs) to CSV files. The program also generates script files to create SQL tables and load the exported event data into the SQL tables. Data export supports MEF input in compact MDC format only.

Procedure

  1. Run the data-export image with the example event_export.yaml file as the entry for the MTX_EXPORT_CONFIG_FILE variable or the file that you customized before.
    See the discussion about data export environment variables for a complete description of each of the data-export parameters.
    Three sets of files are generated when the data-export image successfully completes:
    • Extracted MEF data that is written to one or more CSV files.
    • Script file to create SQL tables for importing the extracted MEF data.
    • Script file to load the exported MEF data into the SQL tables after they are created.
    Note: If pricing does not include bundles, you need not add the Event_Bundle_Info and Event_Applied_Bundle fields to the YAML file for the data-export image.
  2. Run the create_tables.sql script to create new SQL tables.
  3. Run the load_tables.sql script to import the CSV data into the new SQL tables.

Results

The exported data is available in SQL tables and is ready for analysis. See the discussion about the exported Event database data model for the database schema diagrams.