Generic - Custom structure format CSV parser
Before you begin
Before you integrate BMC Helix Continuous Optimization with the Custom structure format CSV parser, refer to Collecting-data-for-custom-structure-tables.
To collect data by using the Custom structure format CSV parser
To collect data by using the Custom structure format CSV parser, do the following tasks:
- Navigate to Administration > ETL & SYSTEM TASKS > ETL tasks.
- In the ETL tasks page, click Add > Add ETL under the Last run tab.
In the Add ETL page, set values for the following properties under each expandable tab.
Basic properties
Advanced properties
- Click Save.
You return to the Last run tab under the ETL tasks page. - Validate the results in simulation mode: In the ETL tasks table under ETL tasks > Last run, locate your ETL (ETL task name), click
to run the ETL.
After you run the ETL, the Last exit column in the ETL tasks table will display one of the following values:- OK: The ETL executed without any error in simulation mode.
- WARNING: The ETL execution returned some warnings in simulation mode. Check the ETL log.
- ERROR: The ETL execution returned errors and was unsuccessful. Edit the active Run configuration and try again.
- Switch the ETL to production mode: To do this, perform the following task:
- In the ETL tasks table under ETL tasks > Last run, click the ETL under the Name column.
- In the Run configurations table in the ETL details page, click
to edit the active run configuration.
- In the Edit run configuration page, expand Run configuration and set Execute in simulation mode to No.
- Click Save.
- Locate the ETL in the ETL tasks table and click
to Run it or schedule an ETL run.
After you run the ETL or schedule the ETL for a run, it will extract the data from the source and transfer it to the BMC Helix Continuous Optimization database.
Input file format
The input file follows the open ETL structure.
Here is a sample of the supported file structure for system metrics:
#BEHAVIOUR=APPEND
#KEYCOLUMN=VAL1;VAL2
#COLUMNTYPES=NUMBER;NUMBER;VARCHAR(50)
VAL1;VAL2;NAME
1;2;value1
1;3;value2
1;4;value3
6;6;valueUpdated
Select one of the APPEND, UPDATE, or TRUNCATE behaviors to import data in the buffer table. If data is present in the input file and you select the TRUNCATE behavior, the table will be emptied out before loading new data. This is the same as selecting APPEND behavior and enabling the Truncate table before load option in the ETL configuration.
The specified buffer table name will be checked in the BMC Helix Continuous Optimization schema. If the table is not present, create the table by using the data mart API. For details, see Datamart-API-endpoints.