🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/ppickett-pivotal/mysql-timeline

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ppickett-pivotal/mysql-timeline

v0.0.0-20201203165201-7370e8fbfbd3
Source
Go
Version published
Created
Source

mysql-timeline

Parse and format logs from a MySQL Galera cluster

originally written by Stephen Carter

Details

The tool parses known log lines (that I understand!) and generates a consolidated timeline of the events that happened on a cluster.

You still need to figure out what actually happened on the cluster but this is great to get a highlevel overview before digging deeper in to the logs.

Usage

  • mysql-timeline was created using go1.8.3 so make sure you have at least that version installed:
    • https://golang.org/dl/
  • Download the code:
    • go get github.com/ppickett-pivotal/mysql-timeline
  • Install the code:
    • go install github.com/ppickett-pivotal/mysql-timeline
  • Generate the timeline:
    • mysql-timeline NODE0_LOG NODE1_LOG NODE2_LOG > timeline.html
    • The tool expects 3 log files corresponding to MySQL node 0, 1 and 2.
  • Open timeline.html in your favourite browser.
    • The columns correspond to the nodes from left to right.

FAQs

Package last updated on 03 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts