{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Products","product_name":"Real-time","type":"markdown"},"seo":{"title":"Creating Single Value Attributes","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"creating-single-value-attributes","__idx":0},"children":["Creating Single Value Attributes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a single-value attribute, such as \"name,\" \"email,\" and \"last purchase amount.\""]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This topic includes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/real-time/creating-single-value-attributes#prerequisites"},"children":["Prerequisites"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/real-time/creating-single-value-attributes#create-a-single-value-attribute"},"children":["Create a Single-Value Attribute"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/real-time/creating-single-value-attributes#view-single-value-attributes"},"children":["View Single-Value Attributes"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create attributes, you must have ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Full"]},{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/control-panel/security/policies/policy-based-data-workbench-permissions"},"children":["Data Workbench permissions"]}," for all parent segments."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-a-single-value-attribute","__idx":2},"children":["Create a Single-Value Attribute"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open Treasure Console."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," >",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parent Segments."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select a parent segment and the folder in which you want to add a single-value attribute."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Real-time Configuration"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Attributes"]}," tab, and then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add Attributes"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Single"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/creating-single-value-attributes-2024-07-01.a13f2841b8aca17157272c63aacccb1fd65cff4352c93f72c1ff4e8eb9716dc5.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Review the information in the following table to complete the form."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field Name"},"children":["Field Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter a unique name for your attribute."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["X"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["System ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a system ID for a unique attribute name. A system ID is a string that starts with an alphabet or underscore (",{"$$mdtype":"Tag","name":"em","attributes":{},"children":[") and is optionally followed by an alphanumeric and ("]},"). Spaces or special characters are not allowed. The system ID is case-sensitive."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example"]}," ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["systemID924"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["X"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Description"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Optional) Create a description of the single-value attribute."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Key event"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select a key event from the parent segment."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Optionally, add filters to your key event. For more information, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/real-time/creating-a-real-time-configuration#configure-event-definitions"},"children":["Configuring Event Definitions"]},"."]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["X"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Event value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select the field value from the event stored in the attribute.",{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You cannot change this value after you save the attribute."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["X"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select the type of data for this attribute (string or numeric)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["X"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sliding duration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select the amount of sliding time duration of the data for the attribute. The maximum value is 60 days."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["X"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Batch Backfill"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(Optional) Check the box to define batch attribute details that can be used as a backfill if a real-time value is not updated:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you select Batch Backfill, the following information is required:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Batch attribute to backfill"]},": Select a value to use as the backfill."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Batch attribute timestamp"]},": Select the field to store the timestamp for the previously stored value. The timestamp is in Unix seconds format."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The attribute with the most recent timestamp will be used."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You cannot change this value after you save the attribute."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"view-single-value-attributes","__idx":3},"children":["View Single-Value Attributes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After you have created one or more single-value attributes, you can view them in the Data Workbench."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open Treasure Console."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," >",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parent Segments."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select a parent segment in which you want to view single-value attributes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ellipses in the row where the single-value attribute is listed."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/creating-single-value-attributes-2024-07-12.2c10e0342002ed9d03900c98b803be46467fdf2c45275295930ee8523bbc8b15.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["View Details"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See also ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/real-time/real-time-attribute-faqs"},"children":["Real-time Attribute FAQs"]},"."]}]},"headings":[{"value":"Creating Single Value Attributes","id":"creating-single-value-attributes","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Create a Single-Value Attribute","id":"create-a-single-value-attribute","depth":2},{"value":"View Single-Value Attributes","id":"view-single-value-attributes","depth":2}],"frontmatter":{"seo":{"title":"Creating Single Value Attributes"}},"lastModified":"2026-06-01T09:09:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/real-time/creating-single-value-attributes","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}