Jump to: navigation, search

log-filter-data

This section is defined on the Options tab of the Stat Server Application object and has to be named log-filter-data. The options in this section define the treatment of filtering data in log output on a key-by-key basis. Log files can contain a significant amount of information about your configuration and operations. The options in this section enable you to prevent unauthorized users from seeing particular data in the output of log messages.




  


<key name>

Default Value: copy

Valid Values:
  • copy The keys and values of the given KVList pair in the AttributeUserData section are copied to the log.
  • hide The given KVList key is copied to the log; the KVList value is replaced with a string of asterisks.
  • hide-first,<n> The key of the given KVList pair in the AttributeUserData section is copied to the log; the first <n> characters of the value are replaced with asterisks. If <n> exceeds the number of characters in the value, the number of asterisks will be equal to the number of characters in the value.
  • hide-last,<n> The key of the given KVList pair in the AttributeUserData section is copied to the log; the last <n> characters of the value are replaced with asterisks. If <n> exceeds the number of characters in the value, the number of asterisks will be equal to the number of characters in the value.
  • tag[(<tag-prefix>,<tag-postfix>)] The KVList pair in the AttributeUserData section is tagged with the prefix specified by <tag-prefix> and the postfix specified by <tag-postfix>. If the two parameters are not specified, the default tags <# and #> are used as prefix and postfix, respectively.
    To use the default tags, you can use any of the following values:
    • tag
    • tag()
    • tag(,)
    To define your own tags, replace the two parameters in the value with your tags.
  • unhide-first,<n> The key of the given KVList pair in the AttributeUserData section is copied to the log; all but the first <n> characters of the value are replaced with asterisks. If <n> exceeds the number of characters in the value, the value of the key appears, with no asterisks.
  • unhide-last,<n> The key of the given KVList pair in the AttributeUserData section is copied to the log; all but the last <n> characters of the value are replaced with asterisks. If <n> exceeds the number of characters in the value, the value of the key appears, with no asterisks.
  • skip The KVList pair in the AttributeUserData section is not copied to the log.

Changes Take Effect: Immediately


Specifies the manner in which the specified KVList pair, defined by this option's name, is presented in the Stat Server log. Setting this option supersedes the default manner of KVList presentation, which is defined by the value of the default-filter-type option in the [log-filter] section for the given KVList pair. If no value is specified for this option, no additional processing of this data element is performed.



Example

[log-filter-data]
PASSWORD=hide

Here is an example of the log with the PASSWORD option set to hide. Note that the value of PASSWORD has been replaced with a series of asterisks (****):

message RequestSetCallInfo
AttributeConsultType 3
AttributeOriginalConnID 008b012ece62c8be
AttributeUpdateRevision 2752651
AttributeUserData [111] 00 27 01 00
'DNIS' '8410'
‘PASSWORD' '****'
'RECORD_ID' '8313427'
AttributeConnID 008b012ece62c922

Refer to the Genesys Security Deployment Guide for additional examples.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on July 21, 2015, at 10:52.