Skip to content

A light weight log visual analytic platform for clickhouse.

License

Notifications You must be signed in to change notification settings

huxxhua/mogo

This branch is 2627 commits behind clickvisual/clickvisual:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6eb1794 · Feb 26, 2022
Jan 6, 2022
Feb 16, 2022
Feb 25, 2022
Feb 25, 2022
Feb 8, 2022
Feb 25, 2022
Feb 25, 2022
Feb 22, 2022
Jan 7, 2022
Feb 21, 2022
Jan 7, 2022
Feb 14, 2022
Feb 10, 2022
Feb 22, 2022
Dec 29, 2021
Feb 22, 2022
Feb 22, 2022
Feb 25, 2022
Jan 7, 2022
Feb 21, 2022
Feb 11, 2022
Feb 11, 2022

Repository files navigation

mogo

All Contributors

English | 中文

Mogo is a lightweight browser-based logs analytics and logs search platform for some datasource(ClickHouse or MySQL).

log search page log-search

configuration page log-search

Features

  • visual query dashboard, support query Histogram and raw logs for SQL.
  • shows percentage for specified fields.
  • vscode style configuration board, you can easily emit your fluent-bit configuration to Kubernetes ConfigMap.
  • Out of the box, easily deployment with kubectl.
  • Support for GitHub and GitLab Authentication.

Architecture

image

Installation

  • For Docker
# clone mogo source code.
git clone https://github.com/shimohq/mogo.git

# you may need to set docker image mirror, visit <https://github.com/yeasy/docker_practice/blob/master/install/mirror.md> for details.
docker-compose up

# then go to browser and visit http://localhost:19001.
# login username: shimo 
# login password: shimo
  • For host
# download release.
# get latest version.
latest=$(curl -sL https://api.github.com/repos/shimohq/mogo/releases/latest | grep  ".tag_name" | sed -E 's/.*"([^"]+)".*/\1/')

# for MacOS amd64.
wget "https://github.com/shimohq/mogo/releases/download/${latest}/mogo-${latest}-darwin-amd64.tar.gz" -O mogo-${latest}.tar.gz 

# for Linux amd64.
wget "https://github.com/shimohq/mogo/releases/download/${latest}/mogo-${latest}-linux-amd64.tar.gz" -O mogo-$(latest).tar.gz  

# extract zip file to current directory.
mkdir -p ./mogo-${latest} && tar -zxvf mogo-${latest}.tar.gz -C ./mogo-${latest}

# open config/default.toml, then change database and redis or other section configuration
# execute migration latest sql script in scripts/migration directory
# start mogo
cd ./mogo-${latest} && ./mogo -config config/default.toml

# then go to browser and visit http://localhost:19001
# login username: shimo
# login password: shimo

Documentation

See https://mogo.shimo.im

Main Tasks

Bugs or features

If you want to report a bug or request for a feature, create a issue here.

Join Us

Join us, please add the "mogo" keyword in the verification information.

Contributors

Thanks for these wonderful people:


MEX7

m1666

askuy

sevennt

LincolnZhou

Link Duan

梁桂锋

About

A light weight log visual analytic platform for clickhouse.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 84.0%
  • Less 10.5%
  • Shell 2.5%
  • JavaScript 1.5%
  • EJS 0.7%
  • Makefile 0.5%
  • Other 0.3%