Part 3: Configure remote Log Server instances

Steps

  1. Go to a remote Log Server machine and use the Windows Services tool to stop the Websense Log Server service.
  2. Navigate to the bin directory, then open the LogServer.ini file for that instance in a text editor.
  3. Search for the phrase “Remote LogServer” and make the following changes:
    [LogFile]
    MoveCacheFile=FALSE
    MoveCacheFilePath=C:\Program
    Files\Websense\bin\CacheProcessing
    ProcessCacheFile=TRUE
    [UserGroups]
    ProcessGroups=FALSE
    ProcessUserFullName=FALSE
    ;Distributed Logging Remote LogServer
    [CacheLogging]
    Active=true
    TimeInterval=180
    MinFileSize=1048576
    MaxFileSize=5242880
    CacheFileProcessingPath=C:\Program
    Files\Websense\bin\CacheProcessing
    CacheFileOutputPath=<UNC_path_to_mapped_drive>
    • Set the Active parameter to true to configure the remote Log Server to place cache files in the “CacheFileProcessingPath” directory and forward them to the central Log Server.
    • Optionally, change the TimeInterval value to determine how often (in seconds) the remote Log Server closes the current cache file and creates a new one.
    • You can also edit the MinFileSize and MaxFileSize (in bytes) for each cache file. The default minimum is 1 MB; the default maximum is 5 MB.
    • Set CacheFileProcessingPath to a local directory on the remote Log Server machine. Cache files are created on the local machine before being sent to the mapped drive on for processing by the central Log Server.
    • Set CacheFileOutputPath to the UNC file path of the shared folder on the central Log Server machine.
  4. If you want to record visits (rather than hits), and have turned off visits processing for the central Log Server service, make sure visits are enabled in the [Visits] section of the INI file for the remote Log Server instance.
    [Visits]
    VisitTime=10
    UsingVisits=true
    VisitSortTimeDelay=30
    Note: When centralized logging is used, log record consolidation is automatically disabled on remote Log Server instances. To use log record consolidation, enable it for the central Log Server.
  5. Save and close the file.
  6. To configure this Log Server instance to run as the domain user created in Part 1 of this procedure:
    1. In the Windows Services tool, right-click Websense Log Server and select Properties.
    2. Select the Log On tab, then, under “Log on as,” click This account.
    3. Browse to the domain user created for this purpose, then enter and confirm the account password.
    4. When you are finished, click OK to return to the main Services window.
  7. To start Log Server, right-click Websense Log Server again, then select Start.
    Repeat the process for each remote Log Server machine.