---
sourceDocument: Brazil Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/now-intelligence

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# Log details for classic data collector

# Log details for classic data collector {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Log Details for Classic Data Collector

The classic data collector in Performance Analytics collects indicator scores by executing SQL queries for each indicator source over a defined time range.
The process iterates through each collection time and indicator source, logging detailed information at each step to aid troubleshooting.
This log is specific to the classic data collector, identifiable by the system propertycom.snc.pa.dc.hsqlset to "false".
Show full answer Show less  

## Optimization Properties

The classic data collector supports several system properties that optimize data collection behavior. These include:

* **Nested Collection** (`com.snc.pa.dc.nestedcollection`, default: true): Reduces redundant objects by creating a single indicator object per breakdown and element.
* **Flush Snapshots** (`com.snc.pa.dc.flushsnapshotcount`, default: 1000): Controls how many Performance Analytics snapshots are held in memory before being saved to the database.
* **Use Hashcode for Count Distinct** (`com.snc.pa.dc.usehashcodefordistinct`, default: true): Stores count distinct aggregations more efficiently as hashcodes.

These properties affect only the classic data collector and should not be confused with the new optimized data collector, which operates differently.

## Collection Job Process and Log Entries

The data collection job proceeds through several steps, each logged for transparency:

* **Job Initialization:** Logs the user domain, collection type (scores, text index, or both), and optimization property values.
* **Domain and Indicator Source Identification:** Displays domains involved and lists indicator sources with unique IDs.
* **Indicator Configuration:** Logs properties such as whether records are collected in snapshots, breakdown exclusions, collection period overrides, and breakdown matrix settings.
* **Indicator Source Processing:** For each indicator source, the system logs retrieval, any additional indicator conditions, and whether nested collection is used.
* **Collection Period Iteration:** For each period, the system logs start dates, fields fetched, and the SQL query generated based on indicator source conditions. It also records the number of records fetched.
* **Map/Reduce Execution:** Calculates scores by processing each record, evaluating scripts and conditions, and computing breakdown scores. Memory usage and progress percentages are logged.
* **Text Indexing:** If enabled and configured, stores text indexes for indicator sources.
* **Result Storage:** Logs the number of scores stored and notes any indicators excluded from collection.
* **Job Completion:** Shows statistics on inserts, updates, deletes, errors, and warnings to help assess data collection outcomes.

## Practical Benefits for ServiceNow Customers

This detailed logging enables ServiceNow administrators and analysts to:

* Understand the exact sequence of data collection activities for troubleshooting and performance tuning.
* Verify that optimization properties are correctly applied and interpret their impact on memory use and processing efficiency.
* Track how indicator sources and their specific configurations affect the data collected and scores calculated.
* Identify issues such as missing or invalid text index configurations and respond accordingly.
* Monitor progress and resource consumption during data collection jobs to optimize scheduling and system performance.  
Performance Analytics score collection follows the process described here. To aid
troubleshooting, a mapping between job steps and log entries is provided.

## Collection overview {#original-data-collection-process__id_f5d_1yv_pqb}

The data collection job involves executing an SQL query for each indicator source that uses the data collector. The query repeats for every collection time from the start date to the stop date. Then queries run for the next indicator source. Each step of executing a query is documented in the data collection job log. Figure 1. High-level view of data collection job

## Optimization properties shown in log {#original-data-collection-process__section_uwz_cpw_pqb}

The data collector has several optimizations that can be turned on or off in the System
Properties. The beginning of the job log includes the state of these properties.  
Note:  
Do not confuse these optimization properties with the new, optimized data collector. These properties apply only to the classic data collector. The new data collector is optimized at a more fundamental level.  
{#original-data-collection-process__table_gys_grw_pqb__entry__3}

| Optimization | Description | System property |
|-|-|-|
| Nested collection | Replaces flat mapping, to reduce redundant objects. For example, instead of creating identical indicator objects for every breakdown and element on that indicator, only one object is created for the indicator. | com.snc.pa.dc.nested_collection Default: true |
| Flush snapshots | The ServiceNow AI Platform stores a maximum number of Performance Analytics [snapshots](https://servicenow-prod.fluidtopics.net/SAYEkH1d7Qjsj7I4aT4WVg#gloss-snapshot "A list of table records (sys_ids) that are collected at the time that the indicator scores for those records are collected.") in memory before offloading them to the database. | com.snc.pa.dc.flush_snapshot_count Default: 1000 |
| Use hashcode for count distinct | Stores count distinct aggregations as a hashcode instead of as separate values. | com.snc.pa.dc.use_hashcode_for_distinct Default: true |
[Table 1. Data collection optimization properties]

{#original-data-collection-process__table_gys_grw_pqb}

## Starting and completing collection job {#original-data-collection-process__section_zg3_dyv_pqb}

Follow the data collection process as revealed in log messages. The log messages in each
subprocess have been separated into their own tables.  
Note:  
This log is for the original data collector. If your instance uses this data collector, the system parameter com.snc.pa.dc.hsql exists and is "false." Otherwise, you are using the optimized data collector as described in [Optimizing data collection](https://servicenow-prod.fluidtopics.net/371SHw6x02wO0jEciSOnhw "The optimized Performance Analytics data collector reduces the time, memory, and CPU usage for processing large data sets."). For more information about that log, see [Log details for optimized data collector](https://servicenow-prod.fluidtopics.net/H~VcqymWQImNSwxa5S1LnA "Starting with the Tokyo release, a new, optimized data collector is available. The log details for this data collector differ from the log details of the classic data collector.").
{#original-data-collection-process__table_kwh_k4g_qbb__entry__2}

| Collection job step | Example of resulting log entry |
|-|-|
| Shows the domain of the collection job Run As user. | User \<admin\> belongs to domain global |
| Collection starts. Job start specifies whether scores, text index, or both are being collected. Messages also specify the settings of the data collection optimization properties. | Starting collection of Both scores and text index. Value of properties in system - Flush Snapshot Count: 1,000 Is nested collection: true Using hashcode for count distinct: true |
| Shows the domains for which scores are collected. Also shows other relevant details about the domains. | DomainConfig: Testing Domain Config Collection logs - 3d359877b77000106886e664de11a97c, Type: conditions, RollUpType: roll_up_children, collectAggregate? Yes, collectChildren?: Yes, AggregateDomain: Name: 3d359877b77000106886e664de11a97c - SysID: d1659c77b77000106886e664de11a91e, Domains: Default,MSP,ACME,Cisco,Initech,Oceanic Airlines |
| Lists indicator sources that the job collects data for, including their unique IDs. | Indicator Sources to collect: Incidents.New: b54f2c23d7030100b96d45a3ce61032f, Incidents.Open: b5cf2c23d7030100b96d45a3ce6103cc, Incidents.Closed: 2ac8dd31ff2302001e68ffffffffff3d, Incidents.Resolved: 4c207c23d7030100b96d45a3ce610308 |
| Lists each indicator associated with the job and the indicator properties that are related to data collection: * Are records collected in a snapshot? * Are any breakdowns excluded? * Are the collection periods in the indicator source overridden? * Is the breakdown matrix collected? * If the breakdown matrix is collected, are any breakdown combinations excluded? {#original-data-collection-process__ul_kx2_2pt_pjb} | JobIndicator: Number of open incidents - de537dc3d7131100b96d45a3ce610305 Job Indicator Properties: collectIndicator?: Yes, BreakdownCollectionType: WITH_EXCLUDE Excluded Breakdowns: Assignment Group, State Indicator Properties =\> CollectingRecords: Yes, Overridden Collection Periods: No, Scripted?: No, Breakdown Combinations?: Yes, Excluded Breakdown Combinations: No combination is excluded. |
| Iterate steps for each indicator source | See table [Steps iterated for each indicator source](https://servicenow-prod.fluidtopics.net/dIDx2eHsCDyK1O_6n4MDYA#original-data-collection-process__section_indicator-source). |
| Show statistics for the data collection job | Statistics: inserts 184, updates 0, deletes 92, errors 0, warnings 0 |
| Complete job | Collection ended |
[ ]

{#original-data-collection-process__table_kwh_k4g_qbb}

## Steps iterated for each indicator source {#original-data-collection-process__section_indicator-source}

{#original-data-collection-process__table_indicator-source__entry__2}

| Collection job step | Example of resulting log entry |
|-|-|
| Retrieve indicator source. | Processing indicator source Incidents.Open |
| List indicators that have additional conditions, beyond the conditions inherited from the indicator source. | Indicator: Number of reassigned open incidents - ffb59561ff2302001e68ffffffffff33, Additional Conditions: reassignment_count\>0 |
| Indicates whether score collection is following the nested data structure instead of using flat mapping. Nested collection creates fewer redundant objects in memory. Non-nested collection supports batching of scores. | Using nested collection. Note - Batch inserts of scores are not supported with nested collection. |
| Iterate steps for each collection period. | See table [Steps iterated for each collection period](https://servicenow-prod.fluidtopics.net/dIDx2eHsCDyK1O_6n4MDYA#original-data-collection-process__section_collection-period) |
| Retrieve next indicator source. | Processing indicator source Incidents.New |
[ ]

{#original-data-collection-process__table_indicator-source}

## Steps iterated for each collection period {#original-data-collection-process__section_collection-period}

{#original-data-collection-process__table_collection-period__entry__2}

| Collection job step | Example of resulting log entry |
|-|-|
| Start date of collection job. | Collecting for 20191103 on Indicator Source Incidents.Open |
| Fetch the following fields: * The unique fields of the breakdown sources (typically sys_id) * The indicator fields used in breakdown mappings * The table fields used in scripted breakdown mappings * The indicator source fields used in text analytics, if the text index is collected (typically includes short_description) {#original-data-collection-process__ul_bw4_ydd_tlb} | Fetching "short_description,sys_id, opened_at, assignment_group, description, priority, category" from "incident" |
| Generate SQL based on the conditions that are specified in the indicator source. Note: If the indicator source specifies Today in one of the conditions, Today is considered relative to the period for which the data collection job is executed. For example, the Incidents.New indicator source includes the condition \[Opened\]\[on\]\[Today\]. With days defined to start at 07:00:00, when data is collected for 2019-10-28, the job produces the SQL script on the right. | SELECT task0.\`sys_id\` FROM task task0 WHERE task0.\`sys_class_name\` = 'incident' AND (task0.\`opened_at\` \>= '2019-10-28 07:00:00' AND task0.\`opened_at\` \<= '2019-10-29 06:59:59') |
| Display the number of records fetched by the SQL. | Fetched 150 rows from Indicator Source Incidents.Open (facts table: incident) |
| Run the map/reduce function to calculate indicator scores. | See the table [Steps of the map/reduce function](https://servicenow-prod.fluidtopics.net/dIDx2eHsCDyK1O_6n4MDYA#original-data-collection-process__section_map-reduce) |
| If text indexing is active and has been configured for the indicator source, the data collector stores the resulting text index. | Storing Text Index for indicator source Incidents.Open |
| If text indexing is active and has been configured for the indicator source, the data collector stores the resulting text index. | Bytes used by text index: 41,984 for: Incidents.Open |
| Begin storing newly collected results for the indicator source. | Scores to be stored: 374,842 (excluding lazily evaluated level 2 count distinct scores for indicators - ID - All Incidents with All 3 Breakdowns) |
| Any indicator with a null value is logged. | Stored 'Value when nil': 0.0 as score for indicator: Number of incidents deflected by knowledge |
| Finish storing results. | Scores stored: 1,125,057 |
| Finish storing results. | Stored collected results |
| Specify which indicators the data collector does not collect scores for. | Not collecting for Indicator: Summed age of open incidents with excluded Breakdown: Assignment Group |
| Finish collecting data for that indicator source for that period. | Collection for 20200519 on Indicator Source Incidents.Open finished |
| Display the average amount of time spent on a record to process additional conditions that were set on indicators. | Average time taken to process additional indicator condition for each record: 138 ms |
[ ]

{#original-data-collection-process__table_collection-period}

## Steps of the map/reduce function {#original-data-collection-process__section_map-reduce}

{#original-data-collection-process__table_map-reduce__entry__2}

| Collection job step | Example of resulting log entry |
|-|-|
| The map/reduce function runs. | Applying map/reduce function for indicator source Incidents.Open |
| Warning if text indexing is active for the job but cannot run because of a missing or invalid text index configuration. | Skipping text index collection as there is missing or invalid text index configuration |
| Delete previous scores for the indicators and breakdowns that use the indicator source. | Deleting previous results for indicator source Incidents.Open |
| Delete previous scores for the indicators and breakdowns that use the indicator source. | Deleted previous results 38 for indicator: External Logins |
| Delete previous scores for the indicators and breakdowns that use the indicator source. | Deleted previous results 21 for indicator: Failed Logins |
| Process each record on the indicator source to calculate scores. Log messages track running total of processed records and memory usage. Processing for each record involves: * Execute or evaluate any scripts. * Validate indicator conditions. * Calculate the indicator score. * For each breakdown: 1. Calculate the breakdown score or execute the breakdown script. 2. Retrieve all breakdown unique values. 3. Create or update the array for scores or snapshots. The array is: `Indicator, Breakdown 1, Artifact 1, Breakdown 2, Artifact 2, Domain, Value, Array of [sys_id]` {#original-data-collection-process__ol_qnf_lkx_rbb} {#original-data-collection-process__ul_gvd_skz_ykb} | Processed 18%% (1) records, Result Object size: 5 MB |
| Process each record on the indicator source to calculate scores. Log messages track running total of processed records and memory usage. Processing for each record involves: * Execute or evaluate any scripts. * Validate indicator conditions. * Calculate the indicator score. * For each breakdown: 1. Calculate the breakdown score or execute the breakdown script. 2. Retrieve all breakdown unique values. 3. Create or update the array for scores or snapshots. The array is: `Indicator, Breakdown 1, Artifact 1, Breakdown 2, Artifact 2, Domain, Value, Array of [sys_id]` {#original-data-collection-process__ol_qnf_lkx_rbb} {#original-data-collection-process__ul_gvd_skz_ykb} | Processed 42% (2) records, Result Object size: 9 MB |
| Process each record on the indicator source to calculate scores. Log messages track running total of processed records and memory usage. Processing for each record involves: * Execute or evaluate any scripts. * Validate indicator conditions. * Calculate the indicator score. * For each breakdown: 1. Calculate the breakdown score or execute the breakdown script. 2. Retrieve all breakdown unique values. 3. Create or update the array for scores or snapshots. The array is: `Indicator, Breakdown 1, Artifact 1, Breakdown 2, Artifact 2, Domain, Value, Array of [sys_id]` {#original-data-collection-process__ol_qnf_lkx_rbb} {#original-data-collection-process__ul_gvd_skz_ykb} | Processed 76% (3) records, Result Object size: 14 MB |
| Process each record on the indicator source to calculate scores. Log messages track running total of processed records and memory usage. Processing for each record involves: * Execute or evaluate any scripts. * Validate indicator conditions. * Calculate the indicator score. * For each breakdown: 1. Calculate the breakdown score or execute the breakdown script. 2. Retrieve all breakdown unique values. 3. Create or update the array for scores or snapshots. The array is: `Indicator, Breakdown 1, Artifact 1, Breakdown 2, Artifact 2, Domain, Value, Array of [sys_id]` {#original-data-collection-process__ol_qnf_lkx_rbb} {#original-data-collection-process__ul_gvd_skz_ykb} | Processed 100% (4) records, Result Object size: 20 MB |
| The map/reduce function completes. | Applied map/reduce function |
[ ]

{#original-data-collection-process__table_map-reduce}

