Log Files options

To extract Discover session data to W3C-compliant log files, click Log Files

  • Active - If this destination is the active one for this task, click the Active box.
  • Log Directory - On the host machine, specify the destination directory for the log files.
  • Max Log File Size - The maximum size of each data file in megabytes (MB). If this file size is exceeded, the file is closed, and a new log file is opened.
  • Concurrent Logs - The maximum number of log files that can be concurrently written.
  • Timestamps - Define timestamps in output to be set to GMT time or the local time of the Unica Discover Data Export server.
  • Field Delimiter - In the exported log files, you can specify the separator string that is inserted between extracted fields. By default, this string is a space.
  • Discover Events as individual log entries - A single Discover hit may generate multiple events. Select this option if you want each Discover event in a hit to be written as a separate log entry.
    • Synthetic URL - For each Discover event, generate a synthetic URL in the log file.
    • Event hit URL - For each Discover event, use the URL in the hit containing the event in the log file.
  • Convert Post to Gets - Some destination systems, such as Web Trends, are unable to use POST data in Discover sessions. Select this option to convert this data to GET data.
  • Copy TLTURL to cs-uri-stem - If needed, you can convert Discover URL field (TLTURL) to cs-uri-stem format, which is a W3C standard. The following is an example of cs-uri-stem:
    
    /resources/rss/default.xml enum%2B-
    %2Bstatuscode=304&Status%2BCode%2BDistribution=304&Status%2BCodes%2B-
    %2BNumeric=304&Distance%2BEvent%2B-
    %2BHome%2BPage%2B(/)=/&enum%2BConnType=Dialup&ConnType%2BEvent=Di
    alup&ResponseSize%2BEvent=263
    
    
  • Populate cs-uri-query with Discover Events - If needed, you can append all Discover events to the URI query string. Through this method, all Discover events are specified as a part of a URI query string.
  • Time sort log files - By default, Discover writes log files in hit-by-hit order, which may not be in a time-based order. Select this option to write log files in order according to the timestamps of entries.
  • Fields - Select the fields that you would like to include in the log files. The preselected ones represent a good cross-section of session data.
    • To select all, click Set All at the top of the panel. To clear all fields, click Clear All.

Log file fields

The following fields are available for export to log files:

Log File field
Canister field
SessionDate
date
SessionTime
time
RemoteAddr
c-ip
LoginID
cs-username
ServerName
s-computername
ServerAddr
s-ip
ServerPort
s-port
ReqMethod
cs-method
URL
cs-uri-stem
QueryString
cs-uri-query
StatusCode
sc-status
ResponseDataSize
sc-bytes
RequestDataSize
cs-bytes
TimeTaken
time-taken
Https
cs-version
Host
cs-host
UserAgent
cs(User-Agent)
cookies
cs(Cookie)
referrer
cs(Referer)
TltUrl
x(TltUrl)
TltServer
x(TltServer)
TltHostName
x(TltHostName)
TltApplName
x(TltApplName)
AppData
x(AppData)
DiscoverReplay
x(Replay)
CanisterName
x(CanisterName)
SessionID
x(SessionID)
TLTSID
x(TLTSID)
TLTUID
x(TLTUID)
TLTHID
x(TLTHID)
ReqCancelled
x(ReqCancelled)
RequestHeaderSize
x(RequestHeaderSize)
ResponseHeaderSize
x(ResponseHeaderSize)
RequestTimeEx
x(ReqTimeEx)
RequestEndTimeEx
x(ReqEndTimeEx)
ResponseStartTimeEx
x(RspStartTimeEx)
ResponseTimeEx
x(RspTimeEx)
ResponseAckTimeEx
x(RspAckTimeEx)
WS_GEN
x(WS_GEN)
NT_GEN
x(NT_GEN)
RT_GEN
x(RT_GEN)
TTLB
x(TTLB)
TTLA
x(TTLA)
ConnSpeed
x(ConnSpeed)
EventID
x(EventID)
EventTitle
x(EventTitle)
EventTextFound
x(EventTextFound): Fact value
EventValueID
x(EventValueID)
EventValueDescription
x(EventValueDescription)
FirstHitTime
x(FirstHitTime)
LastHitTime
x(LastHitTime)
HitCount
x(HitCount)
TxtCount
x(TxtCount)
ImgCount
x(ImgCount)
MiscCount
x(MiscCount)