Skip to content

Commit

Permalink
prepare v1.0.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangyt committed Nov 14, 2020
1 parent dde591e commit 11c5cd5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Extra feature includes filtering by log level, by time ranage, helpful for daily
Download the executable binary (https://github.com/qiangyt/jog/releases/) to $PATH. For ex., for Mac OSX and Linux,

```shell
curl -L https://github.com/qiangyt/jog/releases/download/v0.9.20/jog.$(echo `uname -s` | tr A-Z a-z) -o /usr/local/bin/jog
curl -L https://github.com/qiangyt/jog/releases/download/v1.0.0-alpha/jog.$(echo `uname -s` | tr A-Z a-z) -o /usr/local/bin/jog
chmod +x /usr/local/bin/jog
```

Expand Down Expand Up @@ -87,6 +87,7 @@ Extra feature includes filtering by log level, by time ranage, helpful for daily
8) natural timestamp range: jog --after "1 week" --before "2 days" app-20200701-1.log
9) output raw JSON and apply time range filter: jog --after "1 week" --before "2 days" app-20200701-1.log --json
10) disable colorization: jog -cs colorization=false app-20200701-1.log
11) view apache log, non-JSON log jog -g COMMONAPACHELOG example_logs/grok_apache.log")
Options:
-a, --after <timestamp> 'after' time filter. Auto-detect the timestamp format; can be natural datetime
Expand All @@ -96,10 +97,12 @@ Extra feature includes filtering by log level, by time ranage, helpful for daily
-cg, --config-get <config item path> Get value to specified config item
-d, --debug Print more error detail
-f, --follow Follow mode - follow log output
-g, --grok <grok pattern name> For non-json log line. The default patterns are saved in ...
-j, --json Output the raw JSON but then able to apply filters
-h, --help Display this information
-l, --level <level value> Filter by log level. For ex. --level warn
-n, --lines <number of tail lines> Number of tail lines. 10 by default, for follow mode
--reset-grok-library-dir Save default GROK patterns to [%s]
-t, --template Print a configuration YAML file template
-V, --version Display app version information
```
Expand Down
10 changes: 7 additions & 3 deletions RELEASE_HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@
1. User manual - English
2. User manual - Chineses
3. Unit test coverage: 100%
3. New feature: field path

# v1.0.0-rc-2 (TODO)
1. Unit test coverage: >= 80%
2. Fix:
2. Fix: ...
3. New feature: initial arbitrary field filter

# v1.0.0-rc-1 (TODO)
1. Unit test coverage: >= 50%
2. Fix:
2. Fix: ...
3. Enhancement: Log json log

# v1.0.0-belta (TODO)
1. Enhancement: improve grok support
2. Enhancement: merge multiple configuration
3. Replace dynamic object design with https://github.com/imdario/mergo & https://github.com/mitchellh/mapstructure

# v1.0.0-alpha (TODO)
# v1.0.0-alpha
1. New feature: initial support flat (non-JSON) log, using logstash GROK to parse
2. New feature: new configuration parameter `print-format`, for ex., able to tabularize log output - by @frudolph77
3. Fix: replace tab in log lines by four spaces - by @frudolph77
Expand Down
2 changes: 1 addition & 1 deletion static_files/AppVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.9.21
v1.0.0-alpha

0 comments on commit 11c5cd5

Please sign in to comment.