userid_to_log
Controls how logging of IP addresses is performed.
Key: userid_to_log
Type: RequestId
allowed values: ip
, ip_hash
or nothing
Can be set in: collection.cfg
Description
Controls how the search interface will log search request IP addresses via three settings:
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
Default Value
userid_to_log=ip
Examples
To log a unique one-way hash of each request IP address:
userid_to_log=ip_hash
⚠ Caveats
- Some of the query reports rely on the IP addresses to extract information about users (especially the "Top Searchers" and "Top Searchers by Country" reports). If the IP address is not logged or is logged as a hash, these reports will display "Unknown".