TYPE and RETYPE statements
The TYPE and RETYPE statements provide the high-level definition of the processing of an API1 or SMF record type. Code one TYPE (or TYPE and RETYPE) statement for each API1 or SMF record type that BMC AMI Defender is to have the ability to process.
TYPE|RETYPE event_type([fields_context]) specification_name([CAT(category)] CEF(NAME(event-name) [ID(sig-ID)]) [EXITSEL(code)] [FACILITY(facility)] [FIX(num]|VAR[num])] [ID(event-ID)] [PROCESS(process-tag])) TRIPLETCONStraint(minimum [maximum [remainder] ] )
Event_type | Specifies the event type name. Code a name 1–16 characters in length. The name must be unique across all event types. Do not use ALL as an event name. | ||||||||||||||||||
Fields_context | Is optional. Normally the fields context for a given event is the same as the event_type. However, if you want, you might override that here. Code an optional name of 1-16 characters. | ||||||||||||||||||
Specification_name | Specifies the underlying main logic for the event type. Specify one of the following specification names:
| ||||||||||||||||||
CAT(category) | Certain Event specifications support additional parameters beyond those shown here, and are as follows:
| ||||||||||||||||||
FACILITY(facility) | Specifies the default RFC 3164 or RFC 5427 Facility code for the event type. Specify one of the Facility names in Syslog-facilities-and-severities in BMC AMI Defender documentation. Following table shows FACILITY defaults:
| ||||||||||||||||||
ID(event-ID) | Specifies the name of a field that is used to generate the CEF Signature ID or LEEF event ID. By convention these fields have names of the form CEF_LEEF_Txxx_ID if common to CEF or LEEF_Txxx_EventID if unique to LEEF. If this field is omitted, the PROCess literal is used as an alternative. | ||||||||||||||||||
PROCess(process-tag) | Specifies the tag that appears at the start of syslog messages for the event, following the priority, timestamp, and hostname, and preceding the formatted fields. Specify the exact process tag that you include in syslog messages, including any spaces and punctuation. Process-tag might be of any length from the null string (‘’) to 32 characters. | ||||||||||||||||||
TRIPLETCONStraint(minimum [maximum [remainder] ] ) | An optional parameter that provides additional validation of triplet, Get specifications at field definition time. (There is no additional overhead during event processing.) You might specify a minimum valid offset for triplets of this record type, a maximum valid offset, and the valid alignment of triplets. The alignment is specified as a remainder on division of the triplet offset by 8. |
This section contains the following topics :
Related topic