![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 2128647.1 : Performance Intelligence Center Static Enrichment File Format
In this Document
Applies to:Oracle Communications Performance Intelligence Center (PIC) Software - Version 7.1 and laterInformation in this document applies to any platform. PurposeThis document explain how a static enrichment file (fse) has to be formated. DetailsThe file can contain comments (a comment line starts with a sharp #). The file’s name is important: it defines in which order the enrichments (if more than one enrichment file) will be done by the Data Server or IXP: the alphabetical order is chosen (so a file name “$0….fse” will be used before a file named “something.fse”); remember that ProTraq files enter in the same naming rule, so preferably name enrichment files with “$….fse” and ProTraq files without a starting $. SectionsAn enrichment file contains at least one MAPPING section (SECTION:MAPPING) or one COPY section (SECTION:COPY); it can contain several MAPPING or COPY sections (SECTION:MAPPING:number or SECTION:COPY:number) incrementally numbered, starting at 0. Note that in case of several MAPPING/COPY sections, the tables are used in the reverse order of their number: an xDR is first enriched according to the table with the highest number, and finally enriched according to the table with number 0. Enrichment by mappingThis way of enriching an xDR is based on a mapping table where field values combinations are associated to field values (a combination of values, the key, is associated to a single value, the result); for each xDR to enrich, the engine will scan the xDR and extract the values of the input fields; if the combination of these values is listed in the mapping table, then, the output field is updated with the result matching this combination; if the combination cannot be found in the mapping table, the output field is updated with the default value, if it is provided; in any other case, the output field is not updated. The INPUT instruction lists the fields used as keys; each field is separated from the other with a semi-colon; a field can be prefixed with a tilde (~) specifying that the values of that field can be declared as an interval; the intervals only apply to numeric fields. The OUTPUT instruction defines the field that will be updated; there can only be one output field and it is mandatory. The SKIP instruction can only be used if there is a single input field of BCD_ADDRESS type (like B-Number, A-Number, MSISDN…); its goal is to remove an unwanted known prefix. The MAP instruction defines an association between a key and a result; each key is separated from the other with a semi-colon; the key of a field expressed as an interval can be given as intervals min_value~max_value or single_value. The keys (single values, as well as min and max of intervals) must be compatible with the matching input fields; the keys (single values) of input fields of BCD_ADDRESS type are implicitly prefixes; the results must be compatible with the output field. The DEFAULT command instructs the engine to put a default value for the output field of the xDRs not matching any keys in the MAP; if no DEFAULT is defined, the non-matching xDRs will not be modified. The default value must be compatible with the output field. Enrichment by copyThis way of enriching an xDR is based on the concatenation of parts of values: the given rules define what part of what input field is to be extracted and the order of the definition of the rules defines in what order these parts are to be concatenated into the output field. The INPUT instruction lists the fields from which parts will be extracted; each input field is separated from the other with a semi-colon; the input fields can also be provided in several INPUT instructions. Input fields can only be of type BCD_ADDRESS, STRING or VARSTRING. At least one input field is needed. The OUTPUT instruction defines the field that will be updated; there can only be one output field and it is mandatory. The output field can only be of type STRING; if all the input fields are of type BCD_ADDRESS, the output field can also be of type BCD_ADDRESS. Rules are defined with the LEFT and RIGHT instructions; in case no rule is defined, and only if there is one single input field, the implicit rule LEFT:* is used. Example: To extract the serial number, SNR, out of an IMEISV field, 6 digits starting from 9th position, syntax is: SECTION:MAIN SECTION:COPY File FormatIn the following chapters:
MAIN sectionSECTION:MAIN
DLL:FSEMAP MODE:BEFORE MAPPING sectionSECTION:MAPPING [ : <section> ]
INPUT: [ ~ ] <field> { ; [ ~ ] <field> }* OUTPUT: <field> { SKIP: <mask> }* { MAP: <value> [ ~ <value> ] { ; <value> [ ~ <value> ] }* : <value> }+ [ DEFAULT: <value> ] COPY sectionSECTION:COPY [ : <section> ]
INPUT: <field> { ; <field> }* OUTPUT: <field> { { LEFT | RIGHT } [ : [ <field> ] ] : { <count> | * } [ : <start> ] }* FILTER section (optional) SECTION:FILTER NAME: <name> EXPR: <expression> { COND: <condition> : <field> : <operator> : <value> { ; <value> }* }+ Definitions
Attachments This solution has no attachment |
||||||||||||||||||||||||||||||
|