tencent cloud

Elastic MapReduce

  • Release Notes and Announcements
  • Product Introduction
  • Purchase Guide
    • EMR on CVM Billing Instructions
    • EMR on TKE Billing Instructions
    • EMR Serverless HBase Billing Instructions
    • EMR Serverless TCBase Billing Overview
  • Getting Started
  • EMR on CVM Operation Guide
    • Planning Cluster
    • Administrative rights
    • Configuring Cluster
    • Managing Cluster
    • Managing Service
    • Monitoring and Alarms
    • TCInsight
  • EMR on TKE Operation Guide
  • EMR Serverless HBase Operation Guide
  • EMR Serverless TCBase Operation Guide
  • EMR Development Guide
    • Hadoop Development Guide
    • Spark Development Guide
    • Hbase Development Guide
    • Phoenix on Hbase Development Guide
    • Hive Development Guide
    • Presto Development Guide
    • Sqoop Development Guide
    • Hue Development Guide
    • Oozie Development Guide
    • Flume Development Guide
    • Kerberos Development Guide
    • Knox Development Guide
    • Alluxio Development Guide
    • Kylin Development Guide
    • Livy Development Guide
    • Kyuubi Development Guide
    • Zeppelin Development Guide
    • Hudi Development Guide
    • Superset Development Guide
    • Impala Development Guide
    • Druid Development Guide
    • TensorFlow Development Guide
    • Kudu Development Guide
    • Ranger Development Guide
    • Kafka Development Guide
    • StarRocks Development Guide
    • Flink Development Guide
    • JupyterLab Development Guide
    • MLflow Development Guide
  • Practical Tutorial
    • Practice of EMR on CVM Ops
    • Data Migration
    • Practical Tutorial on Custom Scaling
  • API Documentation
    • History
    • Introduction
    • API Category
    • Making API Requests
    • Cluster Resource Management APIs
    • Cluster Services APIs
    • User Management APIs
    • Information Query APIs
    • Scaling APIs
    • Configuration APIs
    • Other APIs
    • Cluster Lifecycle APIs
    • Serverless HBase APIs
    • YARN Resource Scheduling APIs
    • Data Types
    • Error Codes
  • FAQs
    • EMR on CVM
  • Service Level Agreement
  • Contact Us

Storing Ranger Audit Logs in Solr

Download
Focus Mode
Font Size
Last updated: 2025-01-03 15:02:25
Ranger audit logs are disabled by default; you can enable the audit feature for the relevant components by modifying the configuration file as needed.
Note:
When you install Ranger in EMR-2.7.0 and later versions, a stand-alone Solr is installed by default on a single Master node to store Ranger’s audit logs, with a retention period of 7 days.
1. To enable the audit feature, taking HDFS as an example, go to the EMR Console> Cluster Services > HDFS > Configuration Management, and modify the ranger-hdfs-audit.xml file as follows:
xasecure.audit.is.enabled=true
xasecure.audit.solr.is.enabled=true
2. In Cluster Services > HDFS > Role Management, restart the NameNode role.
3. If the customer needs to retain Ranger audit logs for a long term, it is recommended to store Ranger audit logs in Tencent Cloud ElasticSearch.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback