---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# AWS X-Ray Sampling Rule

# AWS X-Ray Sampling Rule pattern-based discovery {#ariaid-title1}

Release version: Australia  
Updated May 13, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 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 AWS X-Ray Sampling Rule pattern-based discovery

The AWS X-Ray Sampling Rule pattern-based discovery enables ServiceNow customers to identify and map AWS X-Ray Sampling Rules within their cloud environments.
This discovery is part of the Discovery and Service Mapping Patterns application and requires the latest version from the ServiceNow Store for optimal functionality.
Show full answer Show less  
This feature supports populating data into both CMDB and non-CMDB tables, providing comprehensive visibility and management of AWS X-Ray Sampling Rules.

## Key Features

* **Pattern Activation:** The pattern for AWS X-Ray Sampling Rule discovery is disabled by default. Starting with Visibility Content version 6.28.0, enabling or disabling patterns is no longer considered a customization, ensuring updates continue after upgrades.
* **Prerequisites:** AWS discovery prerequisites must be met, and resources should be removed from the Resource Inclusion List to prevent duplicate discovery.
* **Data Population:**
  * **Non-CMDB Tables:** Data is stored when running the *Amazon AWS - XRay Sampling Rule - Extended Inventory (LP)* pattern. These tables can be accessed via the AWS configuration section.
  * **CMDB Tables:** Key CMDB tables include *Cloud Resource \[cmdbcicmpresource\]* for resource metadata and *AWS XRay Sampling Rule \[cmdbawsxraysamplingrule\]* for sampling rule specifics.
* **CI Relationships and References:** The pattern creates relationships such as "Hosted on" linking sampling rules to AWS Datacenter CIs and references between sampling rules and cloud resources to maintain accurate service mapping.
* **AWS Tag Discovery:** Tags associated with sampling rules are collected and stored in the *Key Value \[cmdbkeyvalue\]* table, linking tag data to corresponding cloud resources.

## Key Outcomes

* Enables automated discovery and mapping of AWS X-Ray Sampling Rules, improving visibility into application tracing configurations.
* Ensures data consistency by preventing duplicate discovery through Resource Inclusion List management.
* Facilitates detailed asset and configuration management by storing comprehensive sampling rule attributes, relationships, and tags within the ServiceNow CMDB.
* Supports ongoing maintenance and accuracy of discovery patterns with simplified pattern activation and upgrade processes.  
Discovery and Service Mapping Patterns finds AWS X-Ray Sampling Rules on your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#aws-xray-sampling-rule__section_rpj_fj2_bgc}

Verify the AWS discovery prerequisites
:   For more information, see the prerequisites section in [AWS discovery using patterns](https://www.servicenow.com/docs/NFaTlkGaSxMWb2bQPsCnCA "Discovery and Service Mapping Patterns uses patterns to discover components of the Amazon AWS Cloud deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Remove resources from the Resource Inclusion List table
:   Verify that the relevant resource isn't listed in the Resource Inclusion List \[sa_cloud_inventory_resource_whitelist\] table to avoid duplicate discovery. For more information on removing resources from the Resource
    Inclusion List, see [AWS Resource Inventory discovery with Patterns](https://www.servicenow.com/docs/0pDNq0441mpy~sExfQvvqA "The ServiceNow Discovery and Service Mapping applications can find and map the AWS resources available by AWS Config Service. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Enable the relevant pattern
:   The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see [Activate a disabled pattern](https://www.servicenow.com/docs/aypCYVQdO8oFebLMLEI89g "If you want to use a pattern for discovery that's disabled by default, activate it manually.").{#aws-xray-sampling-rule__activating-disabled-pattern-not-customization}
Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

## Data stored in non-CMDB tables {#aws-xray-sampling-rule__section_aq4_qkq_hfc}

Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - XRay Sampling Rule - Extended Inventory (LP) pattern.

You can review the non-CMDB
AWS tables by navigating to AllConfigurationAWS. You can also search the navigation filter for the specific pattern name.  
{#aws-xray-sampling-rule__table_non_cmdb__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the sampling rule. |
| Object ID \[object_id\] | The Amazon Resource Name (ARN) of the sampling rule. |
| Priority \[priority\] | The priority of the sampling rule. Lower values indicate higher priority. |
| Resource ARN \[resource_arn\] | The ARN of the resource to which the sampling rule applies. An asterisk (\*) matches all resources. |
| Service Name \[service_name\] | The name of the service to which the sampling rule applies. An asterisk (\*) matches all services. |
| Service Type \[service_type\] | The type of the service to which the sampling rule applies. |
| Version \[version\] | The version number of the sampling rule. |
| Configuration Item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 1. AWS XRay Sampling Rule \[cmdb_aws_xray_sampling_rule\]]

{#aws-xray-sampling-rule__table_non_cmdb}

## Data stored in CMDB tables {#aws-xray-sampling-rule__section_ggp_ql2_bgc}

Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - XRay Sampling Rule - Extended Inventory (LP) pattern.  
{#aws-xray-sampling-rule__table_cmdb__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the sampling rule. |
| Object ID \[object_id\] | The ARN of the sampling rule. |
| Resource type \[resource_type\] | Type of resource. The value is set to AWS::XRay::SamplingRule. |
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the resource. Default value is Operational. |
[Table 2. Cloud Resource \[cmdb_ci_cmp_resource\]]

{#aws-xray-sampling-rule__table_cmdb}

## CI relationships {#aws-xray-sampling-rule__section_dc4_ghc_dgc}

The Amazon AWS - XRay Sampling Rule - Extended Inventory (LP) pattern creates the following relationships and references to support AWS X-Ray Sampling Rule discovery. References link to records in other tables and don't appear in the CI Relationship \[cmdb_rel_ci\] table.  
{#aws-xray-sampling-rule__table_relationships__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Cloud Resource \[cmdb_ci_cmp_resource\] | Hosted on::Hosts | AWS Datacenter \[cmdb_ci_aws_datacenter\] |
[Table 3. CI relationships]

{#aws-xray-sampling-rule__table_relationships}  
{#aws-xray-sampling-rule__table_ci_references__entry__3}

| CI | Field | Referenced CI |
|-|-|-|
| AWS XRay Sampling Rule \[cmdb_aws_xray_sampling_rule\] | Configuration Item \[configuration_item\] | Cloud Resource \[cmdb_ci_cmp_resource\] |
| Key Value \[cmdb_key_value\] | Configuration item \[configuration_item\] | Cloud Resource \[cmdb_ci_cmp_resource\] |
[Table 4. CI references]

{#aws-xray-sampling-rule__table_ci_references}

## AWS Tag discovery {#aws-xray-sampling-rule__section_lyw_zhc_dgc}

The Amazon AWS - XRay Sampling Rule - Extended Inventory (LP) pattern collects tags and populates them in the Key Value \[cmdb_key_value\] table.  
{#aws-xray-sampling-rule__table_ojy_vss_5hc__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag name. |
| Value \[value\] | Tag value. |
| Configuration item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 5. Key Value \[cmdb_key_value\]]

{#aws-xray-sampling-rule__table_ojy_vss_5hc}

*[\>]: and then


