Is there a character limitation for the General_EventLog KS? (NETIQKB1853)

  • 7701853
  • 02-Feb-2007
  • 10-Nov-2010

Environment

AppManager 6.x
AppManager 7.0.x
General_EventLog Knowledge Script

Situation

Is there a character limitation for the General_EventLog KS?

Resolution

To increase the limit for the parameters edit the General_EventLog.qml file using the AppManager Knowledge Script Editor, which comes with the Developer's Console. You can also use a text editor for the modification.

For example:

Modify the Knowledge Script parameter limit from 80 to 255.
Find the line below within the file General_EventLog.qml

<Param name="Category">
    <Desc>Event category filter</Desc>
    <Delim>,</Delim>
    <Type>String</Type>
    <Size>80</Size>
    <ReqInput>0</ReqInput>
    <Parent>FDR_EVENTFILTERS</Parent>
    <Folder>0</Folder>
    <NoQuote>0</NoQuote>
 </Param>

To

<Param name="Category">
    <Desc>Event category filter</Desc>
    <Delim>,</Delim>
    <Type>String</Type>
    <Size>255</Size>
    <ReqInput>0</ReqInput>
    <Parent>FDR_EVENTFILTERS</Parent>
    <Folder>0</Folder>
    <NoQuote>0</NoQuote>
  </Param>

The number 80 was the only thing changed in the above line of code. This value shouldn't be increased beyond 255.
 

Cause

When configuring a General_EventLog job, by default there is an 80 character limit set for parameters within this Knowledge Script. Even though the AppManager Operator Console preferences may have been set to a larger value than 80 for the "maximum string length for parameters". The General_EventLog Knowledge Script restricts the number of characters.

Additional Information

Formerly known as NETIQKB1853