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 |
---|---|
-a Arch | Specifies the platform architecture |
-b BinFile | Binary file name |
-c ClassFile | Imports the specified ClassFile.baroc that defines the class definitions |
-d DataFile | Imports the specified_DataFile_.baroc that defines data instances |
-f manifest | Specifies the path to the manifest.kb file |
-j RecordFile | Imports RecordRile.baroc that defines the record definitions |
-l LibFile | Imports the specified library file (filename.wic ) |
-m Directory | Creates a new Knowledge Base directory hierarchy based on the contents of the designated manifest.kb file |
-o CollectorFile | 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 |
-r RuleFile | 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 |
---|---|
-a Arch |
Specifies the platform architecture:
|
-b BinFile | Adds the binary file (BinFile) for the architecture |
-c ClassFile | Adds the class file (ClassFile to the designated Knowledge Base |
-o CollectorFile | Adds the collector file (CollectorFile) to the designated Knowledge Base |
-d DataFile | Adds the data file (DataFile) to the designated Knowledge Base |
-l LibFile | Adds the library file (LibFile) to the designated Knowledge Base |
-r RuleFile | 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.