mysql8-audit-log-decoder

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2023 License: MIT Imports: 11 Imported by: 0

README

mysql8-audit-proxy JSON Log Converter Tool

Overview

The mysql8-audit-proxy JSON Log Converter Tool is a utility that parses binary log files generated by mysql8-audit-proxy (a proxy for auditing logs in MySQL version 8) and converts them into JSON format.

Features

This utility provides the following features:

  • Reads and parses gzip-compressed binary log files generated by mysql8-audit-proxy
  • Converts packet information such as timestamp, connection ID, user, database, address, state, error, and command into JSON format
  • Outputs the generated JSON data to the standard output

Usage

Command Line Flag
  • -version: Displays the tool's version.
Arguments

The utility accepts one or more filenames as arguments. These are the gzip-compressed binary log files to be processed.

Installation

To install the utility, download the deb or rpm file from the Assets on the Release Page and install it using that file. When installed via deb or rpm, the tool is installed at /usr/local/bin/mysql8-audit-log-decoder.

Example of Use

An example command to run the utility is as follows:

$ /usr/local/bin/mysql8-audit-log-decoder filename

This processes the gzip-compressed binary log file filename and outputs the resulting JSON to the standard output.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL