Mapping customized field names

Any customized field names in the Historical Event Database must be mapped to the corresponding standard field names in Netcool®/Impact. You do this by creating a database view to map to the standard field names.

Before you begin

You must perform this task if you have customized table columns in your Historical Event Database. For example, if you have defined columns called SUMMARYTXT and IDENTIFIERID instead of the default names SUMMARY and IDENTIFIER, you must perform this task. You create a database view and map back to the actual field names.

About this task

The steps documented here are for a Db2® database. The procedure is similar for an Oracle database.

To map customized columns in your Historical Event Database, complete the following steps.

Procedure

  1. Use the following statement to create the view and point the data types to the new view.
    DROP VIEW REPORTER_STATUS_STD;
    CREATE VIEW REPORTER_STATUS_STD AS SELECT SUMMARYTXT AS SUMMARY, IDENTIFIERID AS IDENTIFIER, * FROM REPORTER_STATUS;
    
  2. Change the data types from REPORTER_STATUS to REPORTER_STATUS_STD. The data types for Db2 are AlertsHistoryDb2Table and SE_HISTORICALEVENTS_Db2 under ObjectServerHistoryDb2ForNOI data source.
  3. Delete RELATEDEVENTS.RE_MAPPINGS records from the table:
    DELETE FROM RELATEDEVENTS.RE_MAPPINGS WHERE TRUE;
    
  4. Run the Event Analytics Configuration wizard to configure the Netcool/Impact properties to use for Event Analytics.
  5. On the Historical event database configuration screen, connect to the database and then select the REPORTER_STATUS_STD (view) from the History table drop-down menu as the Table name for Event Analytics.
  6. When using any other columns that were mapped in the view, for example Summary for SUMMARYTXT, use the new value in any of the wizard screens. In this case use Summary.
    For example, when adding fields to the report in the Configure report fields screen, use the values mapped in the view (Identifier or Summary).
  7. Save the Event Analytics configuration. You can now use the mapped fields for Event Analytics.