Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to turn off the audit log function of Navigator

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to turn off the audit log function of Navigator. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

The audit function in the documentation purpose CDH allows the operation of the cluster to be recorded so that it can be queried during the audit. If Navigator is enabled, the audit log is aggregated into Navigator. However, when the Navigator service is stopped, the audit log will be dropped locally, taking up a lot of disk space. The following is mainly about how to turn off the audit log function.

Test environment:

1.Redhat7.2

two。 Adopt root user operation

Version 5.16.2 for 3.CM and CDH

Turn off the audit logs for each service

2.1 HBase

1. Close the audit-related configuration in HBase, uncheck the button in the following figure, and click Save.

two。 Restart Hbase

2.2 HDFS

1. Close the audit-related configuration in HDFS, uncheck the button in the following figure, and click Save.

two。 Scroll restart HDFS

3. Click scroll restart as shown in the picture.

2.3 Hive

1. Close the audit-related configuration in Hive, uncheck the button in the following figure, and click Save.

two。 Restart Hive

2.4.Hue

1. Close the audit-related configuration in Hue, uncheck the button in the following figure, and click Save.

two。 Restart Hue

Restart complete

2.5 Impala

1. Close the audit-related configuration in Impala, uncheck the button in the following figure, and click Save.

two。 Restart the Impala service from the CM home page

Restart complete

2.6 Sentry

1. Close the audit-related configuration in Sentry, uncheck the button in the following figure, and click Save.

two。 Restart Sentry

2.7 Cloudera Management Service

1. Close the audit-related configuration in CMS, uncheck the button in the following figure, and click Save.

two。 Restart CMS

3. Restart complete

Last

1. To disable the audit log function of the cluster, you need to manually modify the configuration in each service, and then save the restart.

The system does not prompt to restart after the modification of 2.Impala. You need to restart it manually here. If you do not restart, Impala's audit collection function is still running and audit logs are still recorded in the audit directory.

3.HBase is selected for restart in this article, during which the HBase service will not be available. If you choose to scroll restart, it may take a very long time.

4. If you need to enable Navigator for audit later, you need to manually enable the audit collection feature for each service.

After reading the above, do you have any further understanding of how to turn off the audit log function of Navigator? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report