Dynamic enrichment source files are not required for standard event management policies. You only need a dynamic enrichment source file if you are creating a dynamic enrichment policy.
Before you enable a dynamic enrichment policy, you must import or enter the data that you want to use for enrichment into a data file. You can import the enrichment data into any delimited flat file; however, BMC recommends importing the data into a .csv file and using Microsoft Excel to view and manipulate the contents of the file. The spreadsheet format of Microsoft Excel makes it easier to view and manipulate the information in the file.
You can use the sample data enrichment files provided with the product as a guide to set up your own data enrichment source files. The sample files are located in the installationDirectory\pw\admin\etc\samples directory. For a list of sample files provided with the product, see Sample dynamic enrichment source files.
Before you begin
If you are referencing a timeframe in your dynamic enrichment source file, you must ensure that the timeframe that you are referencing already exists. If the timeframe you want to reference does not exist, you must define it as described in How to create a new local timeframe.
To create a dynamic enrichment source file
In each column of the spreadsheet, enter information that corresponds to each match value and output value that is included in your dynamic enrichment policy.
It is critical that the policy definition and the data enrichment source file contain the exact same number of match fields and output fields in the same order. If the match fields and output fields in the enrichment file and the policy do not match, the policy does not run.
For example, if you are using the location.csv file that is included as a sample with the product, this file has two columns —
mc_location. If you are creating a dynamic enrichment location policy that uses the location.csv file as the data enrichment source file, you must select the Host slot as the Match Field and the Location slot as the Output Field to correspond to the columns in the location.csv file.
To edit a sample dynamic enrichment source file
Import or enter information specific to your enterprise.
The following figure shows an example of an edited location.csv file.
Example edited location.csv file
The location for hosts Texan1 and Texan2 is listed as Houston. The location for all hosts beginning with Cowboy (for example, Cowboy1, CowboySmith, CowboyAikman) is listed as Dallas.