All Projects → iulianclita → logy

iulianclita / logy

Licence: MIT license
Parse log files like a pro with this awesome CLI tool. Paginate and filter with great ease.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to logy

Logger
✔️ Simple, pretty and powerful logger for android
Stars: ✭ 13,093 (+46660.71%)
Mutual labels:  log
Lumberjackconsole
On-device CocoaLumberjack console with support for search, adjust levels, copying and more.
Stars: ✭ 205 (+632.14%)
Mutual labels:  log
Laravel Log Viewer
🐪 Laravel log viewer
Stars: ✭ 2,726 (+9635.71%)
Mutual labels:  log
Logcat
Android 日志打印框架,在手机上可以直接看到 Logcat 日志啦
Stars: ✭ 189 (+575%)
Mutual labels:  log
Sensitive
🔐Sensitive log tool for java, based on java annotation. (基于注解的 java 日志脱敏框架,更加优雅的日志打印)
Stars: ✭ 200 (+614.29%)
Mutual labels:  log
Golog
A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.
Stars: ✭ 208 (+642.86%)
Mutual labels:  log
Thinkgo
A lightweight MVC framework written in Go (Golang).
Stars: ✭ 184 (+557.14%)
Mutual labels:  log
Matomo
Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!
Stars: ✭ 15,711 (+56010.71%)
Mutual labels:  log
Pgbadger
A fast PostgreSQL Log Analyzer
Stars: ✭ 2,522 (+8907.14%)
Mutual labels:  log
Awstats
AWStats Log Analyzer project (official sources)
Stars: ✭ 238 (+750%)
Mutual labels:  log
Masterchief
C# 开发辅助类库,和士官长一样身经百战且越战越勇的战争机器,能力无人能出其右。
Stars: ✭ 190 (+578.57%)
Mutual labels:  log
Xlog
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here.
Stars: ✭ 2,468 (+8714.29%)
Mutual labels:  log
Wordpress Simple History
🔍🕵️‍♀️ WordPress audit log that track user changes in WordPress admin using a nice activity feed.
Stars: ✭ 232 (+728.57%)
Mutual labels:  log
Acho
The Hackable Log
Stars: ✭ 189 (+575%)
Mutual labels:  log
Fluent Bit
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
Stars: ✭ 3,223 (+11410.71%)
Mutual labels:  log
Discordchatexporter
Exports Discord chat logs to a file
Stars: ✭ 3,198 (+11321.43%)
Mutual labels:  log
Monolog Bundle
Symfony Monolog Bundle
Stars: ✭ 2,532 (+8942.86%)
Mutual labels:  log
Mars
Mars is a cross-platform network component developed by WeChat.
Stars: ✭ 15,912 (+56728.57%)
Mutual labels:  log
Base
🍁 Base是针对于Android开发封装好一些常用的基类,主要包括通用的Adapter、Activity、Fragment、Dialog等、和一些常用的Util类,只为更简单。
Stars: ✭ 249 (+789.29%)
Mutual labels:  log
Sagan
** README ** This repo has MOVED to https://github.com/quadrantsec/sagan
Stars: ✭ 236 (+742.86%)
Mutual labels:  log

Logy

The best parser for filtering and handling files of any size with ease. Inspecting or filtering large files can be a real pain. Logy let's you open any file in a paginated manner so that there is no overhead of opening the whole file when all you want is searching for a small chunk of text. Besides file paths, it also supports folder paths.

Features

  • Written in pure Go (Golang)
  • Requires Go >= 1.11 to build. Just visit this link on how to install Go on your machine
  • Simple installation process
  • Very easy to use and highly intuitive
  • Works on Mac, Linux and Windows

Installation

There is no need to install anything. If you want to skip the setup process and just use the tool, follow this link and use the build that is specific to your OS (Mac, Linux or Windows). All binaries were built against 64bit architectures.

Otherwise clone the repository. This way you can contribute to the project :)

Usage

After the file is parsed you can navigate to any page by specifying the desired page number

Basic usage

$ logy path/to/file.log # By default it outputs 50 lines per page
$ logy path/to/folder --ext=log,txt # The extensions (-ext) flag must be specified for folder paths to mention what file types should be scanned. In this example the parser will search the folder recursively for all files ending with .log or .txt extension

Specify how many lines per page

$ logy path/to/file.log --lines=25 # Now it will output 25 lines per page
$ logy path/to/folder --ext=log,txt --lines=25 # Now it will output 25 lines per page

Format json output

$ logy path/to/file.log --text=json # Every json structure that is found will be nicely formatted 
$ logy path/to/folder --ext=log,txt --text=json # Every json structure that is found will be nicely formatted 

Search for text

$ logy path/to/file.log --filter=Exception # Every text that is found will be nicely colored to be easily observed 
$ logy path/to/folder --ext=log,txt --filter=Exception # Every text that is found will be nicely colored to be easily observed 

Navigate to any page

$ logy path/to/file.log --page=10 # The parser will directly navigate to the specified page number 
$ logy path/to/folder --ext=log,txt --page=10 # The parser will directly navigate to the specified page number 

Enable regex support

$ logy path/to/file.log --filter=[0-9]{2}:[0-9]{2}:[0-9]{2} --with-regex # The parser will search for any text that matches whatever was specified in the filter option flag
$ logy path/to/folder --ext=log,txt --filter=[0-9]{2}:[0-9]{2}:[0-9]{2} --with-regex # The parser will search for any text that matches whatever was specified in the filter option flag

Disable colored output of any kind

$ logy path/to/file.log --no-color # The parser will display all text with the same color (black/white). Probably you will never want this behavior but it's here just in case :)
$ logy path/to/folder --ext=log,txt --no-color # The parser will display all text with the same color (black/white). Probably you will never want this behavior but it's here just in case :)

Of course all the flag options can be combined in any manner to obtain the desired results

Note

Because regex implementation in Go is not highly performant, use the --with-regex flag when it is absolutely necessary, especially with large files.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or feature requests.

License

The Logy CLI tool is open-sourced software licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].