FAQ Entry
Register
* You must register for access to some support pages



Entry #470: How to widen an event column

Question
How to widen an event column
Answer
There are two steps necessary to expand the size of an
EventList column. In the PROTOMGR section of the agent.xml
file, you must first exclude the original column, and then
you put it back in with its new definition. For example, to
expand the PID column from four characters to eight
characters, you first exclude it using the EXCLUDE_EVENT
entry, and then redefine it with a REDEFINE_EVENT entry. You
should see the syntax in the TEMPLATE of the PROTOMGR
section.

Exclude the original four-character Pid column by using the
EXCLUDE_EVENT syntax. In the COLUMN element, there is one
space followed by the three characters �PID�

Redefine the fourth column (position=4) as the Pid column,
where there are five spaces followed by the three characters
Pid.


<EXCLUDE_EVENT>
<CLASS>Baseline-Thread</CLASS>
<EVENT_EXCLUDE_METHOD>SPECIFIED
COLUMN</EVENT_EXCLUDE_METHOD>
<COLUMN> Pid</COLUMN>
</EXCLUDE_EVENT>
<REDEFINE_EVENT>
<INPUT_METRIC>Windows System.PerfData.NT Baseline.Thread.ID
Process</INPUT_METRIC>
<EVENT_CLASS>Baseline-Thread</EVENT_CLASS>
<COLUMN_NAME> Pid</COLUMN_NAME>
<POSITION>4</POSITION>
<TYPE>UINT32</TYPE>
<FORM>RAW</FORM>
<SCALE>NOSCALE</SCALE>
</REDEFINE_EVENT>

Once you make the update, you need to stop and restart the
Power Agent to pick up the new configuration.
Symptoms
Asterisks in the event data entry.
Cause
The value to be displayed has more characters than the width
of the column.