userid_to_log

Background

Controls how the search interface will log search request IP addresses. The userid_to_log setting accepts the following values:

  • ip: log request IP addresses as normal

  • ip_hash: log a unique one-way hash of each incoming request IP address

  • nothing: do not log request IP addresses

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the userid_to_log key, and set the value. This can be set to any valid RequestId allowed values: ip, ip_hash or nothing value.

Default value

userid_to_log=ip

Examples

To log a unique one-way hash of each request IP address:

userid_to_log=ip_hash

Notes

  • Some of the query reports rely on the IP addresses to extract information about users. If the IP address is not logged or is logged as a hash, these reports will display unknown.

See also