Import and export meta variables in CSV format 7.4.2
This information is also available in the FortiManager 7.4 Administration Guide: |
FortiManager supports importing and exporting metadata variables in the CSV format.
To export metadata variables in CSV format:
-
Go to Policy & Objects > Advanced > Metadata Variables.
-
In the toolbar, select More > Export as CSV.
The metadata information is exported in the CSV format. The filename is metadata_variables.csv.
Example of exported information:
variable_name,default_value,description,device,VDOM,mapped_value
abc_name,10.0.112.0/24,,vlan171_0041,,90.0.112.0/24
cash_desk_network,10.0.112.0/24,,vlan171_0041,,1-1
cash_desk_network,10.0.112.0/24,,vlan171_0041,root,90.0.112.0/24
hostname,qatest,,vlan171_0041,,vlan171_0041
hostname,qatest,,vlan171_0041,root,111
hostname,qatest,,vlan171_0042,,vlan171_0042
hostname,qatest,,vlan171_0044,,vlan171_0044
hostname,qatest,,vlan171_0045,,vlan171_0045
lan_network,,,vlan171_0041,,10.0.110.0
printer_core_id,122,,,,
printing_maintainer_network,34.32.234.0/24,,,,
subnet_lan,101.101.101.101,,vlan171_0041,,10.122.112.111
vm_interface_number,1,predefined variable for set fgtvm interface number,,,
To import metadata variables in CSV format:
-
Go to Policy & Objects > Advanced > Metadata Variables.
-
In the toolbar, select More > Import from CSV.
-
Select the CSV file from which to import the metadata variables.
Metadata variables and their per-device values are displayed on the import window. -
Select the metadata variables and their per-device mapping values to be included in the import, and click Next to complete the import process.