Set up a data source
When you set up a query as a data source, it will give you great performance when you use it to feed widgets in a dashboard or Activeboard, and also Devo applications. This is because a data source creates a background task that continually updates and aggregates the query's values. This way new data is more quickly reflected in the dashboard widget the data source is feeding.
Using data sources in Activeboards
Keep in mind that in Activeboards, data sources generated from a widget's source query are automatically used to optimize the widget performance, so you don't need to do anything more after setting up the data source following the instructions on this article. Learn more in Working with Activeboard widgets.
In order for a query to be set up as a data source, it needs to group the events.
Here's how to create a new data source:
Go to Data Search and run the query that generates the data you require for your dashboard widget.
Click the gear icon and select New DataSource.
You must group your data before creating a new data source. However, the option will be disabled if you group your data multiple times.
The New Dashboard Data Source window appears. Enter the required information and click Create.
This table lists and describes the fields in this window.
Name Enter a name for the data source. Description Enter a description of the data source. Tags Enter tags that help categorize the data source. Build From Enter the date from which you want to start collecting data. Minimum Aggregation Period Select how often you want data to be aggregated. Choose between 1 minute, 5 minutes, 1 hour or Auto (default option). In real time Check this option if you want data to be sent in real time. If not checked, use the Delay field to specify the maximum acceptable time difference between the current time and the last event displayed.
The system notifies you that generating the aggregation task from the data source may take a few minutes. Click Yes. You will see a notification message once the aggregation task is generated.Since aggregation tasks have an impact on the overall system, Devo limits the number of active aggregation tasks per user.
Manage aggregation tasks
Administrator users can check all aggregation tasks and activate/deactivate them in the Aggregation Tasks tab of the Administration → Data Management area. Go to the Aggregation tasks article to learn more about this.