A TUI interface to navigate and view OpenShift 4 must-gather logs

MGR "Must Gather Reader"

MGR "not the final name" is a simple TUI interface to navigate and view OpenShift 4 must-gather files.

How to run it:

  • Download and run the executable file "mgr":
# ./mgr <MG path>
  • Or, you can clone the project and build your own executable files as follows [Recommended]:
# git clone https://github.com/AmrGanz/MGR.git
# cd MGR
# go build . -o mgr
# ./mgr <MG path>
  • The main interface is devided into multiple areas as shown in the following screenshot: Alt text
  • You will always start with area "1" or List number 1.
  • Most of the flow will start from List 1 then you have new options to choose from in List 2 and so on till you finally get an output in the Text Output area.
  • Sometimes you will ge the output in the Text Area from selecting options in List 2, so you don't have to always get it from the last List.
  • CopyMode button will bring focus to the contents in the Text Output area by hiding other areas.
  • While in the CopyMode, you can use your mouse to highlight and Select/Copy lines.
  • To go back to the main interfacr, press the Esc key in your keyboard.
  • The SearchBox is used to do a simple filtering of the Text Output and it is case sensitive
  • To retrive the original content, clean the SearchBox then press on the Search Button

A screenshot of the main interface showing an example output:

Alt text

Added Features:

  • Read Projects, Operators, Nodes, MCP, MC, and PersistentVolume resources details.
  • Text output is similar to what you get with the oc client
  • Quick navigation between cluster resources
  • Filter output text using the SearchBox
  • Copy from the output text using the CopyMode button
  • Ability to use the mouse

To be added Features "TBA":

  • More cluster reources to be added
  • Color coding
  • Dynamically set the initial size of the interface areas according to the initial terminal size
  • Display and search containers full logs
  • Keyboard shourtcuts
  • Descrypt Secrets, and MachineConfigs
  • Some options will give an output as "TBA" which means that this option will be added later
  • ...

Notes:

  • This software is using tview go library
  • In my lab I am using go version go1.16.8
  • This tool is in a PoC phase and more features will be added to it soon
  • Please feel free to report any bugs or a required feature/enhancement
Owner
Similar Resources

Secret - Prevent your secrets from leaking into logs and std*

secret - Prevent your secrets from leaking into logs and std* The package provid

Dec 30, 2022

ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)

ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)

English / 日本語 ecsk ECS + Task = ecsk 😆 ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run

Dec 13, 2022

Aggregate Kubernetes logs using cli command.

Aggregate Kubernetes logs using cli command.

kubelog kubelog allows user to aggregate logs using cli command. How to use You can aggregate logs like this: Examples Stream logs from pod nginx with

Jan 11, 2021

Flowlogs2metrics - Transform flow logs into metrics

Flowlogs2metrics - Transform flow logs into metrics

Overview Flow-Logs to Metrics (a.k.a. FL2M) is an observability tool that consum

Jan 3, 2023

Logkubed - Serve K8s container logs in realtime with websockets

log3 (logkubed) logcubed is a mini app that helps you stream Kubernetes pod logs

Aug 31, 2022

Web user interface and service agent for the monitoring and remote management of WinAFL.

Web user interface and service agent for the monitoring and remote management of WinAFL.

WinAFL Pet WinAFL Pet is a web user interface dedicated to WinAFL remote management via an agent running as a system service on fuzzing machines. The

Nov 9, 2022

This plugin helps you to use the AWS Command Line Interface (AWS CLI) to start and end sessions to your managed instances

Session Manager Plugin This plugin helps you to use the AWS Command Line Interface (AWS CLI) to start and end sessions to your managed instances. Sess

Dec 28, 2022

This process installs onto kubernetes cluster(s) and provisions workloads designated by the uffizzi interface

Uffizzi Cloud Resource Controller This application connects to a Kubernetes (k8s) Cluster to provision Uffizzi users' workloads on their behalf. While

Dec 14, 2022

Go package exposing a simple interface for executing commands, enabling easy mocking and wrapping of executed commands.

go-runner Go package exposing a simple interface for executing commands, enabling easy mocking and wrapping of executed commands. The Runner interface

Oct 18, 2022
Related tags
This is a POC for a Falco Plugin allowing to gather events from a locale docker daemon.

Docker Events Plugin This is a POC for a Falco Plugin allowing to gather events from a locale docker daemon. ⚠️ This is a POC, don't use in Production

Apr 15, 2022
Oc-clusteroperator - OpenShift CLI plugin to change the state of ClusterOperators from managed to unmanaged and back again

oc-clusteroperator OpenShift CLI plugin to change the state of ClusterOperators

Feb 15, 2022
Addon Operator coordinates the lifecycle of Add-ons in managed OpenShift
Addon Operator coordinates the lifecycle of Add-ons in managed OpenShift

Addon Operator Addon Operator coordinates the lifecycle of Addons in managed OpenShift. dev tools setup pre-commit hooks: make pre-commit-install glob

Dec 29, 2022
A controller to create K8s Ingresses for Openshift routes.

route-to-ingress-operator A controller to create corresponding ingress.networking.k8s.io/v1 resources for route.openshift.io/v1 TODO int port string p

Jan 7, 2022
a small form factor OpenShift/Kubernetes optimized for edge computing

Microshift Microshift is OpenShift1 Kubernetes in a small form factor and optimized for edge computing. Edge devices deployed out in the field pose ve

Dec 29, 2022
A helper tool for getting OpenShift/Kubernetes data directly from Etcd.

Etcd helper A helper tool for getting OpenShift/Kubernetes data directly from Etcd. How to build $ go build . Basic Usage This requires setting the f

Dec 10, 2021
Openshift's hpessa-exporter allows users to export SMART information of local storage devices as Prometheus metrics, by using HPE Smart Storage Administrator tool

hpessa-exporter Overview Openshift's hpessa-exporter allows users to export SMART information of local storage devices as Prometheus metrics, by using

Jan 17, 2022
Implementations of Power VS Provider for the OpenShift machine-api

Machine API Provider Power VS This repository contains implementations of Power VS Provider for the OpenShift machine-api. This provider runs as a mac

Jan 31, 2022
🦥 kubectl plugin to easy to view pod

kubectl-lazy Install curl -sSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/togettoyou/kubectl-lazy/main/install.sh | bash Or you can

Oct 13, 2022
Simple docker tui to list, start and stop your containers
Simple docker tui to list, start and stop your containers

docker-tui Simple docker tui that lets you list, start and stop your containers. Current status Rough, initial prototype. Build with This tool relies

Dec 2, 2022