Content management script parameters
Use the contentManagement.pl script to export content from one IBM QRadar 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 export and search
actions. Specifies the type of content.When used with the When used with the |
| -d
or --debug |
Used with all actions. Use debug level logging when you run the
|
| -m
<DOMAIN> --domain <DOMAIN> |
Used with export and import actions.
|
| -e
or --include-reference-data-elements |
Used with the export action. 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 export, import, and
update actions. When used with the When
used with the The filename and path are case-sensitive. |
| -g or --global-view |
Used with the export action. 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 export action.Specifies the identifier of a specific instance of custom content such as a single report or a single reference set. You can specify all to export all content of the specified type. |
| -n
[name] or --name [name] |
Used with the export action.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 export action.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 search action. When searching, you
must use the |
| -t
[compression_type] or --compression-type [compression_type] |
Used with the export action.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 import action.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. |