Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ->

    Audit log plugin

    Doris’s audit log plugin was developed based on FE’s plugin framework. Is an optional plugin. Users can install or uninstall this plugin at runtime.

    This plugin can periodically import the FE audit log into the specified Doris cluster, so that users can easily view and analyze the audit log through SQL.

    The configuration of the auditloader plugin is located in $ {DORIS}/fe_plugins/auditloader/src/main/assembly/.

    Open plugin.conf for configuration. See the comments of the configuration items.

    After executing in the Doris code directory, you will get the auditloader.zip file in the fe_plugins/output directory.

    You can place this file on an http download server or copy(or unzip) it to the specified directory of all FEs. Here we use the latter.

    The dynamic_partition attribute selects the number of days to keep the audit log based on your needs.

    After that, connect to Doris and use the INSTALL PLUGIN command to complete the installation. After successful installation, you can see the installed plug-ins through , and the status is INSTALLED.