Content Management Script Parameters
Use the contentManagement.pl script to export content from one JSA deployment and import it to another deployment.
The following table describes the parameters for the contentManagement.pl script and the actions to which each parameter applies.
/opt/qradar/bin/contentManagement.pl --action [action_type] [script_parameters]
Parameter |
Description |
---|---|
-a[action_type] or --action[action_type] |
Required. Specifies the action. Valid action types are The |
-c[content_type] or --content-type[content_type] |
Used with the When used with the When used with the |
-d or --debug |
Used with all actions. Use debug level logging when you run the |
-e or --include-reference-data-elements |
Used with the Set this flag to include reference data keys and elements in the export. Reference data keys and reference data elements are applicable
to the |
-f[file_path] or --file[file_path] |
Used with When used with the When used with the The filename and path are case-sensitive. |
-g or --global-view |
Used with the Includes accumulated data in the export. |
-h[action_type] or --help[action_type] |
Used with all actions. Displays help that is specific to the |
-i[content_identifier] or --id[content_identifier] |
Used with the . You can specify all to Exporting All Custom Content Of a Specific Type. |
-n[name] or --name[name] |
Used with the Specifies the name of the package template file that contains the list of custom content to export. The package template file is created the first time that you
use the You must specify the |
-o[filepath] or --output-directory[filepath] |
Used with the Specifies the full path to the directory where the export file is written. If no output directory is specified, the content is exported to the current directory. If the specified output directory does not exist, it is created. |
-q or --quiet |
Used with all actions. No output appears on the screen. |
-r[regex] or --regex[regex] |
Used with the When searching, you must use the |
-t[compression_type] or --compression-type[compression_type] |
Used with the Specifies the compression type of the export file. Valid compression types are ZIP and TARGZ (case sensitive). If you do not specify a compression type, the default compression type is ZIP. |
-u[user] or --user[user] |
Used with the Specifies the user that replaces the current owner when you import user-specific data. The user must exist on the target system before you import the content. |
-v or --verbose |
Used with all actions. Use when you log in to view default-level information for the content management tool. |