|
| 1 | +:orphan: |
| 2 | + |
| 3 | +.. _rum-custom-indexed-tags: |
| 4 | + |
| 5 | +********************************************************************** |
| 6 | +Filter and troubleshoot with custom tags |
| 7 | +********************************************************************** |
| 8 | + |
| 9 | + |
| 10 | +.. meta:: |
| 11 | + :description: words |
| 12 | + |
| 13 | + |
| 14 | +Create custom tags to improve filtering and troubleshooting capabilities in Tag Spotlight. First, create a custom span tag, then index it by adding a MetricSet to the span tag. Adding a MetricSet to the span tags lets you use all of the features associated with indexed span tags. See, :ref:`apm-index-span-tags`. |
| 15 | + |
| 16 | +Track custom processes |
| 17 | +================================= |
| 18 | + |
| 19 | + |
| 20 | +Adding your own tags that are meaningful to your organization like custom tags, helps you refine results and glean insights most pertinent to you. Custom span tags are especially useful for tracking processes that are unique to your organization. For example, customer support, tier, department, or internal geo locations for facilities. |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + .. |
| 25 | + "How can I add my own tags to Tag Spotlight?", "How can I filter on custom tags?" "How can I troubleshoot with custom tags? |
| 26 | +
|
| 27 | + |
| 28 | +Avoid high cardinality in MetricSets |
| 29 | +============================================= |
| 30 | +Choose tags with a reasonable amount of cardinality. Tags like userID, or sessionID are inefficient choices because there could be a huge number of users in your organization and visitors to your application, so creating a troubleshooting MetricSet for each userID is not optimal for performance. For high cardinality ID based tags full-fidelity session search is a better option. High cardinality MetricSets can also affect your org limits :ref:`rum-limits`. Limits are determined by your subscription: enterprise and standard. For more information on each type of subscription, see :new-page:`Splunk RUM Pricing <https://www.splunk.com/en_us/products/pricing/faqs/observability.html#splunk-rum>`. |
| 31 | + |
| 32 | + |
| 33 | +Default tags |
| 34 | +============== |
| 35 | + |
| 36 | +The following tags are automatically indexed during ingestion by default depending on the metric: |
| 37 | + |
| 38 | + * url name |
| 39 | + * operation |
| 40 | + * HTTP Method and status code |
| 41 | + * custom event name |
| 42 | + * browser and version |
| 43 | + * OS name and version |
| 44 | + * city, region, country |
| 45 | + |
| 46 | + |
| 47 | +Add custom tags to Tag Spotlight |
| 48 | +======================================================== |
| 49 | + |
| 50 | +Follow these steps to add custom tags to Tag Spotlight |
| 51 | + |
| 52 | +1. Add a span tag following these steps: :ref:`create-a-span-rum`. |
| 53 | + |
| 54 | +2. In Splunk RUM, select :strong:`RUM MetricSet`. |
| 55 | + |
| 56 | +.. image:: /_images/rum/rum-metricset.png |
| 57 | + :width: 20% |
| 58 | + :alt: Settings panel for adding metric sets. |
| 59 | + |
| 60 | + |
| 61 | +3. Select :strong:`Add MetricSet` and confirm with the checkmark. |
| 62 | + |
| 63 | + |
0 commit comments