NAT Output Format Parameters

Log Parser

NAT Output Format Parameters

The NAT output format supports the following parameters:

rtp
  Values: number of rows
  Default: 10
  Description: Rows to print before pausing.
  Details: When writing to STDOUT, the NAT output format displays output records in batches made up of a number of rows equal to the value specified for this parameter. Once a batch of rows has been displayed, the NAT output format prompts the user to press a key to display the next batch of rows.
Specifying "-1" for this parameter disables batching altogether.
  Example: -rtp:-1
 
headers
  Values: ON | OFF
  Default: ON
  Description: Print column headers.
  Details: This parameter enables or disables the column headers displayed before each batch of output rows.
  Example: -headers:OFF
 
spaceCol
  Values: ON | OFF
  Default: ON
  Description: Space columns uniformly.
  Details: When this parameter is set to "ON", the NAT output format pads values with enough space characters to create columns having a uniform width within each batch of output rows.
When this parameter is set to "OFF", the NAT output format displays unaligned values separated by a single space character.
  Example: -spaceCol:OFF
 
rAlign
  Values: ON | OFF
  Default: OFF
  Description: Align columns to the right.
  Details: When this parameter is set to "ON", the NAT output format aligns values to the right side of each column.
When this parameter is set to "OFF", values are aligned to the left side of each column.
  Example: -rAlign:ON
 
colSep
  Values: any string
  Default: single space character
  Description: Column separator.
  Details: This parameter specifies the separator to be used between the columns.
  Example: -colSep:", "
 
direct
  Values: ON | OFF
  Default: OFF
  Description: Enable "direct mode".
  Details: When "direct mode" is enabled, the NAT output format displays output records as they are made available, disabling the internal buffering mechanism used for column spacing and output row batching.
In "direct mode" columns are not uniformly spaced, headers are printed only at the beginning of the output, and output records are displayed without interruption.
  Example: -direct:ON
 
oCodepage
  Values: codepage ID (number)
  Default: 0
  Description: Codepage of the output text.
  Details: 0 is the system codepage, -1 is UNICODE.
  Example: -oCodepage:1245
 
fileMode
  Values: 0 | 1 | 2
  Default: 1
  Description: Action to perform when an output file already exists.
  Details: This parameter controls the behavior of the NAT output format when the into-entity specifies directly or indirectly through the "multiplex" feature the name of a file that already exists.
The possible values for this parameter are:
  • 0: existing files are appended with the output;
  • 1: existing files are overwritten with the output;
  • 2: existing files are left intact, discarding the output.
  Example: -fileMode:0
 


© 2004 Microsoft Corporation. All rights reserved.