Got it

How to configure parameter filtering of HMS logs

Created: Feb 21, 2022 12:46:49Latest reply: Feb 21, 2022 12:53:11 157 2 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hello, everyone!

Do you know how to configure parameter filtering of HMS logs?

Any solutions will be appreciated!


  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Feb 21, 2022 12:53:11

Hello, friend!

1. Log in to the HMS server as the sshusr user and switch to the root user.

2. Open the config.xml file.
Run the vi /home/huawei/mdn2000/es/conf/config.xml command to open the configuration file.

3. Set the parameters described in Table 1.

Table 1 Parameter filtering

Parameter

Description

GDPRFilterType

Parameter filtering type.

0: not enable parameter filtering.

1: filter all parameters.

2: filter the parameters specified by GDPRFilterKeyWords.

Default value: 0

The   following information is displayed:

<!--Description: GDPR filter type, 0: No filter, 1: Filter all parameters, 2: Filter parameters by list--> <GDPRFilterType>0</GDPRFilterType>

GDPRFilterKeyWords

This parameter is valid when GDPRFilterType is set to 2.

Parameters to be filtered. The value can contain multiple parameters separated by commas   (,).

The   following information is displayed:

<!--Description: Parameter names for GDPR filter when GDPRFilterType is 2--> <GDPRFilterKeyWords>accountinfo,GuardEncType</GDPRFilterKeyWords>

Hope this helps!

View more
  • x
  • convention:

All Answers
little_fish
little_fish Admin Created Feb 21, 2022 12:47:43

dear we are working on it now.
View more
  • x
  • convention:

olive.zhao
olive.zhao Admin Created Feb 21, 2022 12:53:11

Hello, friend!

1. Log in to the HMS server as the sshusr user and switch to the root user.

2. Open the config.xml file.
Run the vi /home/huawei/mdn2000/es/conf/config.xml command to open the configuration file.

3. Set the parameters described in Table 1.

Table 1 Parameter filtering

Parameter

Description

GDPRFilterType

Parameter filtering type.

0: not enable parameter filtering.

1: filter all parameters.

2: filter the parameters specified by GDPRFilterKeyWords.

Default value: 0

The   following information is displayed:

<!--Description: GDPR filter type, 0: No filter, 1: Filter all parameters, 2: Filter parameters by list--> <GDPRFilterType>0</GDPRFilterType>

GDPRFilterKeyWords

This parameter is valid when GDPRFilterType is set to 2.

Parameters to be filtered. The value can contain multiple parameters separated by commas   (,).

The   following information is displayed:

<!--Description: Parameter names for GDPR filter when GDPRFilterType is 2--> <GDPRFilterKeyWords>accountinfo,GuardEncType</GDPRFilterKeyWords>

Hope this helps!

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.