Back

Topic

[KB273]How to filter on User in log table

Tags: Events, Log viewer

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

How to filter by User in a log table using deferred extended attribute.


Details:

This method uses variable attributes and deferred referencing. That is the value of the variable named in the extended variable attribute.

  • In any concerned variable, put SYSTEM.<StationName>.USER1.LOGIN in text attribute.
  • In any concerned variable, put SYSTEM.<StationName>.USER2.LOGIN in text attribute.
  • In log list add #@*A3,# @*A4 in the field attribute to store. This will log the value of the variables referenced in the attributes.
  • In the log window corresponding enter #@*A3 et #@*A4 in format column.

Notes

  • Replace <StationName> by the name of your network station.
  • The system variables SYSTEM.<StationName>.USER1.LOGIN et SYSTEM.<StationName>.USER2.LOGIN must be manually created.
  • To use a filter with deferred extended attributes you must use this syntax: =(##A3 == FilterString). For example:
    LOGDISPLAY(“FILTER”, “Window”, “Branch”, “Identity”, “=(##A3 == ADMIN)”);

Created on: 17 Dec 2010 Last update: 13 May 2024