jqu

command module
v0.0.0-...-f26fb81 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

README

jqu

Simple tool for unpacking json-formatted logs. Fits good to use alongside the log explorer glogg.

These fields have predefined order: time, level, trace_id, dump, error, message.

Options

Usage of jqu:
  -field
        Prepend field name to column
  -tz-local
        Convert time field value to local timezone

Example

echo '{"level":"info","time":"2022-03-21T05:34:58Z","message":"hello jqu"}' | jqu -field -tz-local

Output:

time: 2022-03-21T15:34:58+10:00 level: info     message: hello jqu

Install

go install github.com/WinPooh32/jqu@latest

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