Example: Sending JSON Data to BVD
Sending Data From Data Center East |
|
In this example, Data Center East sends two sets of JSON data to the BVD server. In both sets, the data fields
Lessons learned: Pick the fields in your data that uniquely identify the values you want to send to BVD and include the fields as dimensions in the HTTP post request. |
Sending Additional Data From Data Center East |
|
The primary location of Data Center East is in New York City, with backup servers located in Boston. Both locations send the same set of JSON data. To differentiate the data from the two locations without modifying the JSON data, you can add an additional dimension In this example, we added the dimension
Lessons learned: Directly assign values to your dimensions by adding dim=value pairs to the HTTP post request. |
Sending Data From Data Center West |
|
A second data center, Data Center West, starts sending data similar to the JSON data sent by Data Center East. The data from Data Center West uses the same data channels as the data from East. To distinguish the data from the two centers, you need to add the origin to the data. You can do this by adding tags to the URL. Tags are static labels that you can attach to your data to create more specific data channels. In this example, we added the tags
Lessons learned: Attach tags to your data to create specific data channels. |
Associating Data Channels with Widgets |
|
Once BVD has received the data, it creates the corresponding data channels. You can then associate a data channel with your widget in the widget's properties. In this example, the data channel By default, the widget consumes data from the
Lessons learned: Connect your data to a widget by selecting the corresponding data channel in the widget's properties. |