6 NAR Attributes and Error Scenarios

This chapter contains information on the Network Accounting Record (NAR) attributes, as well as potential error scenarios for the Oracle Communications Offline Mediation Controller Syslog Collection Cartridge Pack.

Table 6-1 details the Network Accounting Record (NAR) attributes, as well as potential error scenarios.

Table 6-1 Network Accounting Record Attributes and Potential Errors

NAR ID Type Value

facility

string

This field can be blank or contain any of the following values: user, kern, mail, daemon, auth, lpr or news.

messageId

string

This field can be blank or contain a numeric value.

filename

string

Input file name.

processName

string

This field can be blank or contain a string value such as sendmail or mountd.

processId

string

This field can be blank or contain a numeric value.

message

string

Syslog message.

date

string

The date as a string value in the format:

"MMM d HH:mm:ss"

For example: Dec 2 16:40:50

level

string

This field can be blank or contain any of the following values: emerg, alert, crit, err, warning, notice, info, debug, none.

host

string

This field can be an IP address or host name.

nar_errorFlag

integer

A flag that indicates whether any problems were detected while parsing the CDR ("0" means that no problems were detected and "1" means that a problem was detected).


The following are potential error situations where the node will skip the record and create a log:

  1. If date field is not in the format "MMM d HH:mm:ss".

  2. If the processId is not a valid numeric value.

  3. If there are any missing fields in the input data, such as date, host or message, for example.

The node will create a log as follows:

Invalid Data, File data not as expected, Invalid syslog record in `<file name>' file: '<syslog record >' This record cannot be processed

For example:

Invalid Data, File data not as expected, Invalid syslog record in 'message3.complete' file: '09 26 05:26:36 servcomnetdb25 mountd[5436]: [ID 882487 daemon.error] unable to create nfsauth service' This record cannot be processed