Importing a Rulebase to the Hawk Agent

If you want to add a rulebase that is similar to the one already defined in another Hawk agent, you can import the rulebase from the other Hawk agent.

The rulebase is exported in a .hrb file. This exported file contains all the details of the rulebase and all its rules. You have to import the .hrb file and deploy (with or without modifications) to your Hawk agent for applying all the rules of the rulebase to the Hawk agent. You can also import multiple rulebases (.hrb files) in a .zip file.

Prerequisites

You must have the .hrb file that contains the exported rulebase.

For the procedure to generate this exported file, see Exporting a Rulebase to a File.

Procedure

1. In the Hawk Console, open the Hawk Agent page to which you want to import the rulebase.
For steps, see Viewing the Agent Details.
2. In the Agent details page, select the Rulebases tab.

All the rulebases for the Hawk agent are displayed on the tab. For details, see Rulebases Tab.

3. On the Rulebases tab, click the import icon in the top right corner.
To import single rulebase, select the rulebase (.hrb) file that you want to import.
To import multiple rulebases at the same time, select the .zip file that contains all the rulebase files that you want to import.
4. Click Open.

Result

If the import is successful, the imported rulebase is listed on the Rulebases tab.

What to do Next

If required, modify the rulebase rules and deploy the imported rulebase to the Hawk agent. For details, see Deploying a Rulebase to the Associated Hawk Agent.