mkb syntax
The following figure shows the syntanx for the mkb command.
mkb syntax
[-f <ManifestFile>] [-b <BinFile>] [-c <ClassFile>] [-d <DataFile>] [-a <Arch>]
[-j <RecordFile>] [-l <LibFile>] [-m <Directory>] [-o <CollectorFile>] [-p] [-r <RuleFile>] [ -i UserID[/Password][@Host[/Port]] ]
The following table lists the command-specific options for mkb. For a list of common command options that apply to all CLI commands, see Event-management-common-command-options.
mkb options
Option | Description |
---|---|
-aArch | Specifies the platform architecture |
-bBinFile | Binary file name |
-cClassFile | Imports the specified ClassFile.baroc that defines the class definitions |
-dDataFile | Imports the specified_DataFile_.baroc that defines data instances |
-fmanifest | Specifies the path to the manifest.kb file |
-jRecordFile | Imports RecordRile.baroc that defines the record definitions |
-lLibFile | Imports the specified library file (filename.wic ) |
-mDirectory | Creates a new Knowledge Base directory hierarchy based on the contents of the designated manifest.kb file |
-oCollectorFile | Imports the specified CollectorFile.mrl that defines the collector definitions |
-p | Prints the contents of the designated manifest.kb file, along with the names of the .load files in the various directories comprising the Knowledge Base |
-rRuleFile | Imports the specified_RuleFile_mrl that defines the rule definitions |
Use the options described in the following table to add new files to the Knowledge Base that you specified with the -f option. The new files are also described in the following table:
mkb new file options
mkb option | Description |
---|---|
-aArch |
Specifies the platform architecture:
|
-b BinFile | Adds the binary file (BinFile) for the architecture |
-cClassFile | Adds the class file (ClassFile to the designated Knowledge Base |
-oCollectorFile | Adds the collector file (CollectorFile) to the designated Knowledge Base |
-dDataFile | Adds the data file (DataFile) to the designated Knowledge Base |
-l LibFile | Adds the library file (LibFile) to the designated Knowledge Base |
-rRuleFile | Adds the rule file (RuleFile) to the designated Knowledge Base |
Each of the above options causes mkb to copy the designated files into the proper Knowledge Base directory and adds information to the .load file of that directory.