Txlogd.conf 文件示例

上次更新: 2022-10-05
  • 创建对象:
  • User
    Admin
重要

阅读有关Data Workbench 生命周期终止公告.

支持的Web服务器/操作系统组合的txlogd.conf文件示例。

Microsoft Windows Server 2000或更高版本上的IIS

在Microsoft Windows Server 2000或更高版本下运行的Internet Information Service(IIS)5.x或6.x传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for IIS

# Unique identifier associated with this sensor, sent to the Server
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication. Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being
# 'on' or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Queue file size in MB.
QueueSize 2000

# Path to directory that contains .pem certificate files. This parameter must point to the directory in
# which the Sensor’s trusted_ca_cert.pem file resides.
CertPath C:\VisualSensor\

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15. Do not change without consulting Adobe.
MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against
# the content type of the reply.
# For example, "image/" will match all image content types while "image/gif" will match only that type
# exactly. When there are multiple matches for a given content-type, the most specific
# match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and "image/" in
# the ContentFilterExclude and image/gif replies will be allowed but all other image types will be
# filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# For IIS only. Used to work around certain problems. Defaults to 'off'.
# Only set to 'on' on advice from tech support.
IISCaptureBytesSent off

# IIS only. Used to work around certain problems. Defaults to 'no'.
# Only set to 'yes' on advice from tech support.
IISUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile C:\VisualSensor\experiment.txt

# Resource that, when requested, will cause a new tracking ID to be generated and the user to be placed
# an experiment group. Note that this resource does not have to physically exist on the Web server.
ExpCookieURL /setcookie.htm

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Additional HTTP headers to log. Fields will be saved as cs(header-name) in Server. Any valid
# HTTP header can be used (this is not a complete list).
LogHeader Accept
LogHeader Accept-Encoding
LogHeader Connection
LogHeader Host
LogHeader Keep-Alive
LogHeader Referrer

AddressFilter 10.2.1.89
# test machine
AddressFilter 192.168.*.*
# internal IP

DisableField s-dns
DisableField cs(cookie)

PrivacyID 0x1111111

# Send this Cache-Control response header to all new visitors
NewUserCacheControl no-cache=Set-Cookie

# Send this Cache-Control response to returning visitors
CacheControl private,max-age=0,must-revalidate

Windows Server 2000 或更高版本上的 Lotus Sametime

在Microsoft Windows Server 2000或更高版本下运行的Lotus Sametime传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for Lotus Sametime

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication. Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on'
# or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath C:\VisualSensor

# Full path to the Sensor disk queue on the web server.
# The queue file must be in the same directory as the Transmitter.
QueueFile C:\VisualSensor\diskq2000.log

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15.
#MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types
# will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Used to work around certain problems. Defaults to 'no'. Only set to 'yes' on advice from tech
# support. Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile C:\VisualSensor\experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an
# experiment group.
ExpCookieURL /setcookie.html

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

Windows 2000 或更高版本上的 Lotus Domino Server

运行在Microsoft Windows Server 2000或更高版本下的Lotus Domino传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for Lotus Domino

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication. Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on'
# or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath C:\VisualSensor

# Full path to the Sensor disk queue on the web server.
# The queue file must be in the same directory as the Transmitter.
QueueFile C:\VisualSensor\diskq2000.log

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15.
#MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types
# will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Used to work around certain problems. Defaults to 'no'. Only set to 'yes' on advice from tech
# support. Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile C:\VisualSensor\experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an
# experiment group.
ExpCookieURL /setcookie.html

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Lotus Domino specific additional fields to log (complete list).
SpecialLogField cs(dn)=vars.X509SubjectName vys_log
SpecialLogField cs(cert)=vars.certificate vys_log

IBM HTTP Server on IBM AIX 5.2

在IBM AIX 5.2下运行的IBM HTTP Server 2.0.x传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for IHS 2.0.x

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication. Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on'
# or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath /usr/local/visualsensor

# Full path to the Sensor disk queue on the web server.
QueueFile /var/queue/VisualSensor.dat

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15.
MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types
# will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Used to work around certain problems. Defaults to 'no'. Only set to 'yes' on advice from tech
# support. Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile /home/experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an
# experiment group.
ExpCookieURL /setcookie.html

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Additional HTTP headers to log. Fields will be saved as cs(header-name) in Server. Any valid
# HTTP header can be used (this is not a complete list).
LogHeader Accept
LogHeader Accept-Encoding
LogHeader Connection
LogHeader Host
LogHeader Keep-Alive
LogHeader Referrer

# IHS 2.0.x specific additional fields to log (complete list).
SpecialLogField x = request.allowed vys_log
SpecialLogField x = request.ap_auth_type vys_log
SpecialLogField x = request.query vys_log
SpecialLogField x = request.bytes_sent vys_log
SpecialLogField x = request.canonical_filename vys_log
SpecialLogField x = request.chunked vys_log
SpecialLogField x = request.clength vys_log
SpecialLogField x = request.content_encoding vys_log
SpecialLogField x = request.content_type vys_log
SpecialLogField x = request.eos_sent vys_log
SpecialLogField x = request.expecting_100 vys_log
SpecialLogField x = request.filename vys_log
SpecialLogField x = request.handler vys_log
SpecialLogField x = request.header_only vys_log
SpecialLogField x = request.hostname vys_log
SpecialLogField x = request.method vys_log
SpecialLogField x = request.method_number vys_log
SpecialLogField x = request.mtime vys_log
SpecialLogField x = request.no_cache vys_log
SpecialLogField x = request.no_local_copy vys_log
SpecialLogField x = request.path_info vys_log
SpecialLogField x = request.proto_num vys_log
SpecialLogField x = request.protocol vys_log
SpecialLogField x = request.proxyreq vys_log
SpecialLogField x = request.range vys_log
SpecialLogField x = request.read_body vys_log
SpecialLogField x = request.read_chunked vys_log
SpecialLogField x = request.read_length vys_log
SpecialLogField x = request.remaining vys_log
SpecialLogField x = request.request_time vys_log
SpecialLogField x = request.sent_bodyct vys_log
SpecialLogField x = request.status vys_log
SpecialLogField x = request.status_line vys_log
SpecialLogField x = request.clf-request vys_log
SpecialLogField x = request.unparsed_uri vys_log
SpecialLogField x = request.uri vys_log
SpecialLogField x = request.used_path_info vys_log
SpecialLogField x = request.user vys_log
SpecialLogField x = request.vlist_validator vys_log
SpecialLogField x = headers.Referrer vys_log
SpecialLogField x = headers.User-Agent vys_log
SpecialLogField x = headers.Cookie vys_log
SpecialLogField x = headers_out.Cookie vys_log

AddressFilter 10.2.1.89
# test machine
AddressFilter 192.168.*.*
# internal IP

DisableField s-dns
DisableField cs(cookie)

PrivacyID 0x1111111

RedHat Linux、Sun Solaris、FreeBSD或Mac OSX上的Apache Server 1.3.x

运行在RedHat Linux 7.x、Sun Solaris 2.6或更高版本、FreeBSD 4或更高版本或Mac OS X PowerPC下的Apache Server 1.3.x传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for Apache 1.3

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication. Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on'
# or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath /usr/local/visualsensor

# Full path to the Sensor disk queue on the web server.
QueueFile /var/queue/VisualSensor.dat

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15.
#MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types
# will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Used to work around certain problems. Defaults to 'no'. Only set to 'yes' on advice from tech
# support. Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile /home/experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an
# experiment group.
ExpCookieURL /setcookie.html

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Additional HTTP headers to log. Fields will be saved as cs(header-name) in Server. Any valid
# HTTP header can be used (this is not a complete list).
LogHeader Accept
LogHeader Accept-Encoding
LogHeader Connection
LogHeader Host
LogHeader Keep-Alive
LogHeader Referrer

# Apache 1.3 specific additional fields to log (complete list).
SpecialLogField x = request.allowed vys_log
SpecialLogField x = request.boundary vys_log
SpecialLogField x = request.byterange vys_log
SpecialLogField x = request.bytes_sent vys_log
SpecialLogField x = request.case_preserved_filename vys_log
SpecialLogField x = request.chunked vys_log
SpecialLogField x = request.clength vys_log
SpecialLogField x = request.clf-request vys_log
SpecialLogField x = request.content_encoding vys_log
SpecialLogField x = request.content_type vys_log
SpecialLogField x = request.expecting_100 vys_log
SpecialLogField x = request.filename vys_log
SpecialLogField x = request.handler vys_log
SpecialLogField x = request.header_only vys_log
SpecialLogField x = request.hostname vys_log
SpecialLogField x = request.method vys_log
SpecialLogField x = request.method_number vys_log
SpecialLogField x = request.mtime vys_log
SpecialLogField x = request.no_cache vys_log
SpecialLogField x = request.no_local_copy vys_log
SpecialLogField x = request.path_info vys_log
SpecialLogField x = request.proto_num vys_log
SpecialLogField x = request.protocol vys_log
SpecialLogField x = request.query vys_log
SpecialLogField x = request.range vys_log
SpecialLogField x = request.read_body vys_log
SpecialLogField x = request.read_chunked vys_log
SpecialLogField x = request.read_length vys_log
SpecialLogField x = request.remaining vys_log
SpecialLogField x = request.request_time vys_log
SpecialLogField x = request.sent_bodyct vys_log
SpecialLogField x = request.status vys_log
SpecialLogField x = request.status_line vys_log
SpecialLogField x = request.unparsed_uri vys_log
SpecialLogField x = request.uri vys_log
SpecialLogField x = request.vlist_validator vys_log
SpecialLogField x = headers.Referrer vys_log
SpecialLogField x = headers.User-Agent vys_log
SpecialLogField x = headers.Cookie vys_log
SpecialLogField x = headers_out.Cookie vys_log

AddressFilter 10.2.1.89
# test machine
AddressFilter 192.168.*.*
# internal IP

DisableField s-dns
DisableField cs(cookie)

PrivacyID 0x1111111

# Send this Cache-Control response header to all new visitors
NewUserCacheControl no-cache=Set-Cookie

# Send this Cache-Control response to returning visitors
CacheControl private,max-age=0,must-revalidate

Windows 2000 Server或更高版本上的Apache Server 1.3.x

运行在Microsoft Windows Server 2000或更高版本下的Apache Server 1.3.x传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for Apache 1.3

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication. Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on'
# or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath C:\VisualSensor

# Full path to the Sensor disk queue on the web server.
# The queue file must be in the same directory as the Transmitter.
QueueFile C:\VisualSensor\diskq2000.log

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15.
#MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types
# will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Used to work around certain problems. Defaults to 'no'. Only set to 'yes' on advice from tech
# support. Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile C:\VisualSensor\experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an
# experiment group.
ExpCookieURL /setcookie.html

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Additional HTTP headers to log. Fields will be saved as cs(header-name) in Server. Any valid
# HTTP header can be used (this is not a complete list).
LogHeader Accept
LogHeader Accept-Encoding
LogHeader Connection
LogHeader Host
LogHeader Keep-Alive
LogHeader Referrer

# Apache 1.3 specific additional fields to log (complete list).
SpecialLogField x = request.allowed vys_log
SpecialLogField x = request.boundary vys_log
SpecialLogField x = request.byterange vys_log
SpecialLogField x = request.bytes_sent vys_log
SpecialLogField x = request.case_preserved_filename vys_log
SpecialLogField x = request.chunked vys_log
SpecialLogField x = request.clength vys_log
SpecialLogField x = request.clf-request vys_log
SpecialLogField x = request.content_encoding vys_log
SpecialLogField x = request.content_type vys_log
SpecialLogField x = request.expecting_100 vys_log
SpecialLogField x = request.filename vys_log
SpecialLogField x = request.handler vys_log
SpecialLogField x = request.header_only vys_log
SpecialLogField x = request.hostname vys_log
SpecialLogField x = request.method vys_log
SpecialLogField x = request.method_number vys_log
SpecialLogField x = request.mtime vys_log
SpecialLogField x = request.no_cache vys_log
SpecialLogField x = request.no_local_copy vys_log
SpecialLogField x = request.path_info vys_log
SpecialLogField x = request.proto_num vys_log
SpecialLogField x = request.protocol vys_log
SpecialLogField x = request.query vys_log
SpecialLogField x = request.range vys_log
SpecialLogField x = request.read_body vys_log
SpecialLogField x = request.read_chunked vys_log
SpecialLogField x = request.read_length vys_log
SpecialLogField x = request.remaining vys_log
SpecialLogField x = request.request_time vys_log
SpecialLogField x = request.sent_bodyct vys_log
SpecialLogField x = request.status vys_log
SpecialLogField x = request.status_line vys_log
SpecialLogField x = request.unparsed_uri vys_log
SpecialLogField x = request.uri vys_log
SpecialLogField x = request.vlist_validator vys_log
SpecialLogField x = headers.Referrer vys_log
SpecialLogField x = headers.User-Agent vys_log
SpecialLogField x = headers.Cookie vys_log
SpecialLogField x = headers_out.Cookie vys_log

AddressFilter 10.2.1.89
# test machine
AddressFilter 192.168.*.*
# internal IP

DisableField s-dns
DisableField cs(cookie)

PrivacyID 0x1111111

# Send this Cache-Control response header to all new visitors
NewUserCacheControl no-cache=Set-Cookie

# Send this Cache-Control response to returning visitors
CacheControl private,max-age=0,must-revalidate

Linux、Sun Solaris或FreeBSD上的Apache Server 2.0.x或2.2

以下Apache服务器的传感器所需的txlogd.conf文件示例。

Apache Server 2.0.40 running under RedHat Linux 7.x or later or Sun Solaris SPARC 2.6 or later
Apache Server 2.0.42 or later running under RedHat Linux 7.x or later, Sun Solaris SPARC 2.6 or later, SUSE Linux 9.x or later, or FreeBSD 5.3
Apache Server 2.0.42 or later running under 64-bit versions of RedHat Linux ES 4 and  ES 5
Apache Server 2.2 running under RedHat Linux 7.x or later

# sample txlogd configuration file for Apache 2.0.x or 2.2

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication.
# Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on' or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath /usr/local/visualsensor

# Full path to the Sensor disk queue on the web server.
QueueFile /var/queue/VisualSensor.dat

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets. Defaults to 15.
MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only. Used to work around certain problems. Defaults to 'no'.
# Only set to 'yes' on advice from tech support.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile /home/experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an experiment group.
ExpCookieURL /setcookie.htm

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Additional HTTP headers to log. Fields will be saved as cs(header-name) in Server. Any valid
# HTTP header can be used (this is not a complete list).
LogHeader Accept
LogHeader Accept-Encoding
LogHeader Connection
LogHeader Host
LogHeader Keep-Alive
LogHeader Referrer

# Apache 2.0.x specific additional fields to log (complete list).
SpecialLogField x = request.allowed vys_log
SpecialLogField x = request.ap_auth_type vys_log
SpecialLogField x = request.query vys_log
SpecialLogField x = request.bytes_sent vys_log
SpecialLogField x = request.canonical_filename vys_log
SpecialLogField x = request.chunked vys_log
SpecialLogField x = request.clength vys_log
SpecialLogField x = request.content_encoding vys_log
SpecialLogField x = request.content_type vys_log
SpecialLogField x = request.eos_sent vys_log
SpecialLogField x = request.expecting_100 vys_log
SpecialLogField x = request.filename vys_log
SpecialLogField x = request.handler vys_log
SpecialLogField x = request.header_only vys_log
SpecialLogField x = request.hostname vys_log
SpecialLogField x = request.method vys_log
SpecialLogField x = request.method_number vys_log
SpecialLogField x = request.mtime vys_log
SpecialLogField x = request.no_cache vys_log
SpecialLogField x = request.no_local_copy vys_log
SpecialLogField x = request.path_info vys_log
SpecialLogField x = request.proto_num vys_log
SpecialLogField x = request.protocol vys_log
SpecialLogField x = request.proxyreq vys_log
SpecialLogField x = request.range vys_log
SpecialLogField x = request.read_body vys_log
SpecialLogField x = request.read_chunked vys_log
SpecialLogField x = request.read_length vys_log
SpecialLogField x = request.remaining vys_log
SpecialLogField x = request.request_time vys_log
SpecialLogField x = request.sent_bodyct vys_log
SpecialLogField x = request.status vys_log
SpecialLogField x = request.status_line vys_log
SpecialLogField x = request.clf-request vys_log
SpecialLogField x = request.unparsed_uri vys_log
SpecialLogField x = request.uri vys_log
SpecialLogField x = request.used_path_info vys_log
SpecialLogField x = request.user vys_log
SpecialLogField x = request.vlist_validator vys_log
SpecialLogField x = headers.Referrer vys_log
SpecialLogField x = headers.User-Agent vys_log
SpecialLogField x = headers.Cookie vys_log
SpecialLogField x = headers_out.Cookie vys_log

AddressFilter 10.2.1.89
# test machine
AddressFilter 192.168.*.*
# internal IP

DisableField s-dns
DisableField cs(cookie)

PrivacyID 0x1111111

# Send this Cache-Control response header to all new visitors
NewUserCacheControl no-cache=Set-Cookie

# Send this Cache-Control response to returning visitors
CacheControl private,max-age=0,must-revalidate

Windows Server 2000或更高版本上的Apache Server 2.0.x或2.2

在Microsoft Windows Server 2000或更高版本下运行的Apache Server 2.0.x或2.2传感器所需的txlogd.conf文件示例。

# sample txlogd configuration file for Apache 2.0.x or 2.2

# Unique identifier associated with this sensor, sent to the Server.
SensorID SENSOR1

# Address of the Server.
ServerAddress 10.1.0.7

# Encrypt Sensor to Server communication.
# Defaults to 'on'.
SSL on

# Port used to connect to the Server. Defaults to 443 or 80, depending on SSL being 'on'
# or 'off'.
ServerPort 443

# The common name (CN) of the Server as set in the Server's certificate.
CertName vs1.domain.com

# Path to directory that contains .pem certificate files.
CertPath C:\VisualSensor

# Full path to the Sensor disk queue on the web server.
# The queue file must be in the same directory as the Transmitter.
QueueFile C:\VisualSensor\diskq2000.log

# Queue file size in MB.
QueueSize 2000

# The amount of time in seconds the transmitter will wait to send the next batch of packets.
# Defaults to 15.
MaxPageLoadTime 15

# The name of the cookie set on the visitor's browser. Defaults to 'v1st'.
TrackingCookie v1st

# Whether or not to validate the server against CertName. Defaults to 'on'.
#VerifyCertName on

# Include or exclude certain content types from logging. These will be prefix matched against the
# content type of the reply. For example, "image/" will match all image content types while "image/gif"
# will match only that type exactly. When there are multiple matches for a given content-type, the most
# specific match will be used. Therefore, you could put "image/gif" in the ContentFilterInclude and
# "image/" in the ContentFilterExclude and image/gif replies will be allowed but all other image types
# will be filtered out.
ContentFilterInclude *
ContentFilterExclude image/,text/css,application/x-javascript

# Apache 1.3, 2.x, IHS 1.3, and IHS 2.x only. Used to work around certain problems. Defaults to 'no'.
# Only set to 'yes' on advice from tech support.
ApacheUseAlternateHandler no

# Path to the Controlled Experiment configuration file.
ExpFile C:\VisualSensor\experiment.txt

# If the user visits this page then a new tracking ID is generated and the user is placed in an
# experiment group.
ExpCookieURL /setcookie.htm

# If set to 'on', URLs visited need only match part of the URL listed in the experiment file to be
# considered a match. Defaults to 'off'.
ExpPartialMatch on

# The transmitter (txlogd) will periodically send requests to this location to see if the site is
# operating correctly. Note that the location is specified in the following format, not as a URL:
#        http, <serverAddress>, <port>, /<resource>
# where: <serverAddress> is server name or IP address, <port> is server’s HTTP listening port,
# <resource> is the specific resource to request (can include a query string).
# Only http is supported at this time. Multiple SiteTest lines can be specified.
SiteTest http,localhost,80,/test.html

# Additional HTTP headers to log. Fields will be saved as cs(header-name) in Server. Any valid
# HTTP header can be used (this is not a complete list).
LogHeader Accept
LogHeader Accept-Encoding
LogHeader Connection
LogHeader Host
LogHeader Keep-Alive
LogHeader Referrer

# Apache 2.0.x specific additional fields to log (complete list).
SpecialLogField x = request.allowed vys_log
SpecialLogField x = request.ap_auth_type vys_log
SpecialLogField x = request.query vys_log
SpecialLogField x = request.bytes_sent vys_log
SpecialLogField x = request.canonical_filename vys_log
SpecialLogField x = request.chunked vys_log
SpecialLogField x = request.clength vys_log
SpecialLogField x = request.content_encoding vys_log
SpecialLogField x = request.content_type vys_log
SpecialLogField x = request.eos_sent vys_log
SpecialLogField x = request.expecting_100 vys_log
SpecialLogField x = request.filename vys_log
SpecialLogField x = request.handler vys_log
SpecialLogField x = request.header_only vys_log
SpecialLogField x = request.hostname vys_log
SpecialLogField x = request.method vys_log
SpecialLogField x = request.method_number vys_log
SpecialLogField x = request.mtime vys_log
SpecialLogField x = request.no_cache vys_log
SpecialLogField x = request.no_local_copy vys_log
SpecialLogField x = request.path_info vys_log
SpecialLogField x = request.proto_num vys_log
SpecialLogField x = request.protocol vys_log
SpecialLogField x = request.proxyreq vys_log
SpecialLogField x = request.range vys_log
SpecialLogField x = request.read_body vys_log
SpecialLogField x = request.read_chunked vys_log
SpecialLogField x = request.read_length vys_log
SpecialLogField x = request.remaining vys_log
SpecialLogField x = request.request_time vys_log
SpecialLogField x = request.sent_bodyct vys_log
SpecialLogField x = request.status vys_log
SpecialLogField x = request.status_line vys_log
SpecialLogField x = request.clf-request vys_log
SpecialLogField x = request.unparsed_uri vys_log
SpecialLogField x = request.uri vys_log
SpecialLogField x = request.used_path_info vys_log
SpecialLogField x = request.user vys_log
SpecialLogField x = request.vlist_validator vys_log
SpecialLogField x = headers.Referrer vys_log
SpecialLogField x = headers.User-Agent vys_log
SpecialLogField x = headers.Cookie vys_log
SpecialLogField x = headers_out.Cookie vys_log

AddressFilter 10.2.1.89
# test machine
AddressFilter 192.168.*.*
# internal IP

DisableField s-dns
DisableField cs(cookie)

PrivacyID 0x1111111

# Send this Cache-Control response header to all new visitors
NewUserCacheControl no-cache=Set-Cookie

# Send this Cache-Control response to returning visitors
CacheControl private,max-age=0,must-revalidate

章节标题

在此页面上