SmartTags are rules that enable you to enrich your usage and cost data with business information, and clean up inconsistencies in your data for better reporting. Each rule is triggered by one or more conditions based on your collected data, and performs one or more actions on that data. You can create a series of rules to make multiple changes to your data.

For more information about SmartTags rule conditions and actions, see the following topics:

Because rules are defined according to the fields available in a collection, a rule is always associated with a single collection. Every night after a collection is run, HPE Consumption Analytics Portal processes the SmartTags defined for that collection.

The SmartTags page shows your collections, the SmartTags rules defined for each collection, and a Rules Preview table that enables you to see the effect of rules on your collected data. HPE Consumption Analytics Portal runs rules in the order they are listed in the table, top-to-bottom. When you select a rule, the table updates to show you the cumulative effect of that rule and its preceding rules.

For each rule, you define one or more conditions and one or more actions. As you build a rule, the Create Rule wizard shows a textual representation of that rule. For example:

Additionally, as you create a rule, the Rule Preview table displays a sample of your collected data. As you build a rule, the Rule Preview table is updated so you can see the actual impact of your rule before putting it into production.

Video overview

The following video helps you understand what SmartTags are, and how they can help you enhance your data:

Creating SmartTags rules

In the drop-down list, select the position of the rule to appear in the list, for example, Before Selected Item, After Selected Item, and Add to End of List. The Create Rule wizard appears.

On the Conditions page, define one more conditions for the rule, or click Next to skip the condition and go to step 5 to define an action. Note if you do not specify a condition, the rule always triggers.

Under Select Conditions, select a condition type. A dialog box appears. See Conditions in SmartTags rules for more information about condition types and how to define those conditions.

Specify details for the condition.

To add another field as part of this condition, click Add New, and enter the required information for that field.

If you defined multiple fields for this condition, toggle Match to define whether either Any or All of the fields you defined must be met for the condition to be triggered.

Click OK. Your condition is added to the rule summary box.

Repeat this step for any other conditions you want to add, and then click Next.

On the Actions page, define one or more actions for the rule.

Under Select Actions, select an action type. A dialog box appears. See Actions in SmartTags rules for more information about action types and how to define those actions.

Specify details for the action, and then click OK. Your action is added to the rule summary box.

Repeat this step for any other actions you want to add, and then click Next.

On the Name page, enter a Name for the rule.

Under Rule Status, toggle between Active and Inactive to run or skip the rule when your rule runs.

Click Save. The rule is added to the list of rules defined for the collection. Rules are run in the order they are listed in the Rule Defined table.

To change the order of a rule, drag and drop the rule to the desired position or click the move icon .

Running SmartTags rules

HPE Consumption Analytics Portal will run your rules automatically after the next nightly collection. When this happens, historical data remains unchanged. If you want to apply your rules to historical data, use the Run Rules Now function.

You need at least one rule to activate SmartTags.

To run rules now

Click the gear icon next to the collection with the rules you want to run, and select Run Rules Now.

In the Run Rules dialog, select the Start Date and End Date for the span historical data you want to modify with your rules, and then click Run. HPE Consumption Analytics Portal immediately begins transforming your historical data according to your rules.

Enabling and disabling all SmartTags rules for a collection

If you want to enable or disable all SmartTags rules for a collection, you can toggle that option directly on the SmartTags page. Click the gear icon next to the collection with the SmartTags rules you want to enable or disable, and then select Toggle Status.

Editing and deleting rules

To edit or delete a rule

In the Rules Defined list, select the rule you want to edit or delete.