FortiAnalyzer includes a number of predefined macros. You can also create new macros, or clone and edit existing macros.
Macros are predefined to use specific datasets and queries. They are organized into categories, and can be added to, removed from, and organized in reports.
Macros are currently supported in FortiGate and FortiCarrier ADOMs only.
- If using ADOMs, ensure that you are in the correct ADOM.
- Go to Reports > Report Definitions > Macro Library, and click Create New. The Create Macro pane is displayed.
- Provide the required information for the new macro.
Enter a name for the macro.
Enter a description of the macro.
Select a dataset from the dropdown list.The options will vary based on device type.
Displays the query statement for the dataset selected.
The data bindings vary depending on the dataset selected. Select a data binding from the dropdown list.
Select a value from the dropdown list.
- Click OK. The newly created macro is shown in the Macro library.