Define Field Resolvers for date and time in Logging Profile elements

You can set the Field Resolver to convert date and time values.

For more details about the product and how to configure features, click Help or press F1.

Steps

  1. In the properties of the Field Resolver, select Date as the Field Type.
  2. Click Select next to Time Field, then select the log field for which you want to define a time stamp.
  3. In the Time Format field, enter the format that the third-party device uses for the time stamp.

    Type the format according to Java standards. For the syntax, see:

    https://⁠docs.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFormat.html

    Example: Typing MMM dd HH:mm:ss maps the log time stamp as Jan 30 13:23:12.

  4. Click OK.

Field Resolver Properties dialog box

Use this dialog box to define the properties for a Field Resolver.

Option Definition
Name The name of the element.
Field Type Select from the following:
  • Multi-valued — The field can have several values.
  • Date — The field is related to the time and date.
Time Field

(When Field Type is Date)

Shows the selected Time Field. You can select the log field for which you want to define a time stamp. Click Select to select an element.
Time Format

(When Field Type is Date)

Enter the format that the third-party device uses for the time stamp.

Note: Type the format according to Java standards. For syntax, see https://⁠docs.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFormat.html.
Fields

(When Field Type is Multi-valued)

Shows the selected SMC log fields. The incoming syslog data is inserted into the log fields that you select. Click Add to add an element to the list, or Remove to remove the selected element.
Value Enter a value for the field. The other columns in the table come from the fields that you add to the Fields list. Click Add to add a row to the table, or Remove to remove the selected row.