< Home

display keyword-group

Function

The display keyword-group command displays keyword groups.

Format

display keyword-group [ name name [ keyword-name keyword-name ] ]

Parameters

Parameter Description Value
name name Specifies the name of a keyword group. The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).
keyword-name keyword-name Specifies the name of a keyword. The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "user for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display all keyword groups.

<sysname> display keyword-group
Keyword Group Configurations:                                                   
Total Keyword Groups: 2                                                         
--------------------------------------------------------------------------------
  Name                          : test                                          
  Description                   : test keyword group                            
  Referenced                    : 0                                             
                                                                                
  Keyword List:                                                                 
  ------------------------------------------------------------------------------
    Name                        : test                                          
    Type                        : User-defined                                  
    Description                 :                                               
    Match Mode                  : Regular                                       
    Expression                  : testexpression|detectstring                   
    Case-sensitive              : No                                            
    Weight                      : 1                                             
--------------------------------------------------------------------------------
  Name                          : default                                       
  Description                   : This is the default keyword group.            
  State                         : committed                                     
  Referenced                    : 1                                             
                                                                                
  Keyword List:                                                                 
  ------------------------------------------------------------------------------
    Name                        : bank-card-number                              
    Type                        : Pre-defined                                   
    Description                 : Match the bank card number                    
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : credit-card-number                            
    Type                        : Pre-defined                                   
    Description                 : Match the credit card number                  
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : social-security-number                        
    Type                        : Pre-defined                                   
    Description                 : Match the social security card number         
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : id-card-number                                
    Type                        : Pre-defined                                   
    Description                 : Match the ID card number                      
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : confidentiality                               
    Type                        : Pre-defined                                   
    Description                 : Match the confidentiality                     
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : china-mobile-phone-number                     
    Type                        : Pre-defined                                   
    Description                 : Match China Mobile phone number               
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : china-unicom-phone-number                     
    Type                        : Pre-defined                                   
    Description                 : Match China Unicom phone number               
    Weight                      : 1                                             
  ------------------------------------------------------------------------------
    Name                        : china-telecom-phone-number                    
    Type                        : Pre-defined                                   
    Description                 : Match China Telecom phone number              
    Weight                      : 1                                             
--------------------------------------------------------------------------------
Table 1 Description of the display keyword-group command output

Item

Description

Keyword Group Configurations

Description of a keyword group

Total Keyword Groups

Number of keyword groups

Name

Name of a keyword group or keyword

Description

Description of a keyword group or keyword

Referenced

Number of times a keyword group is referenced by data filtering rules

Keyword List

Keyword list

Type

Keyword types, including predefined and user-defined

Match Mode

Matching modes of user-defined keywords, including text and regular expression

Expression

Keyword expression

Case-sensitive

Whether the keyword is case-sensitive, which can be:

  • Yes
  • No

Weight

Keyword weight

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >