ThingWorx Model Definition and Composer > Data Storage > Value Streams > Creating a Value Stream
  
Creating a Value Stream
To create a value stream in ThingWorx, do the following:
1. From Composer, browse to Data Storage > Value Streams, and then click the New button.
2. Select a value stream template from the following options, and then click OK:
RemoteValueStream (for a Federation scenario)
ValueStream
3. Configure the settings of the value stream according to the persistence provider that you select.
For example, if you select the ValueStream template, and if you are using DataStax Enterprise as the persistence provider, configure the settings as follows:
Persistence Provider Custom Settings
Name
Default Value
Source Bucket Count
1000
Property Bucket Count
1000
Time Bucket Size (Hours)
24
4. Click Save.
Configuring a Value Stream with Thing Properties
To configure a value stream with Thing properties, do the following:
1. Browse and open a Thing or create a new Thing.
2. In the Value Stream field, click the icon to view the Advanced Search options.
You can click to view recent searches or click to view all available options.
3. Select a value stream.
4. In the Properties and Alerts area, select a property or add a new property.
5. In the Properties panel, enter appropriate details, and then select the Logged check box .
This indicates that the property value is automatically logged to the value stream whenever the property value changes (based on the Data Change Type selected later).
* 
Things that are configured to use a value stream with INFOTABLE, JSON, XML or BLOB base types that contain a large number of rows result in performance issues. Recommended alternatives include:
Using a stream
Breaking out different base types in the data shape. For example, keep all properties from an INFOTABLE base type in the same data shape.
6. Click Advanced Settings, and then select the appropriate option from the Data Change Type drop-down list.
The Data Change Type determines the frequency that data is logged to the value stream.
7. Click to save your changes.