dcsimg

The SmartSource Data Collector fails to generate log files

Products

Webtrends Analytics 8.x
Webtrends Analytics 9.x

Issue

After tagging a web site with the Webtrends JavaScript tag, the SmartSource Data Collector (SDC) displays the error message “Invalid dcsid” in its dcs.audit log, or no logs are generated in the \weblog folder for the dcsid(s) in question.

Resolution

Confirm the relevant dcsid(s) have been added to the SDC’s site map.

1. Open the webtrendssites.lst file located in the following path:

\Webtrends\SmartSource Data Collector\cfg

Each line in webtrendssites.lst represents a system-unique data source. The format of the header and sample entries are displayed below:

# Version: 2.0
# Fields: dcsid, timezone, datasourceid, realtimeid, cookiesenabled, cookietype
dcsajdrvn00000o2a0pxzzm6e_8u5f, -5, 1, NULL, 1, 1

2. Enter the dcsid(s) to be tracked onto separate lines, modify the timezone value (shown as -5 below) for the GMT offset, then increment the datasourceid count for each new entry, similar to the following example:

# Version: 2.0
# Fields: dcsid, timezone, datasourceid, realtimeid, cookiesenabled, cookietype
dcsajdrvn00000o2a0pxzzm6e_8u5f, -5, 1, NULL, 1, 1
dcs5w0txb10000wocrvqy1nqm_6n1p, -5, 2, NULL, 1, 1
dcschph7qm8mm4q4jh0mxg15f_5d9f, -5, 3, NULL, 1, 1
dcsc5k5tan8mm4699xuqng15f_8w4p, -5, 4, NULL, 1, 1

3. Save the changes to the webtrendssites.lst file, then from the command line run the following command:

iisreset

This will restart the IIS server, after which the SDC will then acknowledge requests it receives for the newly added dcsid(s). This process must be repeated each time new a new dcsid is deployed.

For more information related to configuring the SmartSource Data Collector, refer to the SmartSource Data Collector Configuration guide.

Note: There must be a space after every comma to separate the fields and the delimiter must be a comma, not a semi-colon.