Skip to content

Commit 81e1820

Browse files
committed
Update README.md for 1.1.1 version
1 parent e199207 commit 81e1820

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tztail"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
authors = ["Aswin Karthik <aswinkarthik93@gmail.com>"]
55
description = "tztail (TimeZoneTAIL) allows you to view logs in the timezone you want"
66
license-file = "LICENSE-MIT"

README.md

+11-15
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,23 @@ tztail (TimeZoneTAIL) allows you to view logs in the timezone you want. Its tail
77

88
## Install
99

10-
```
10+
_Using Homebrew_
11+
12+
```bash
1113
brew tap thecasualcoder/stable
1214
brew install tztail
1315
```
1416

17+
_Using Cargo_
18+
19+
```bash
20+
cargo install tztail
21+
```
22+
1523
## Usage
1624

1725
```bash
1826
$ tztail --help
19-
tztail 1.1.0
2027
tztail (TimeZoneTAIL) allows you to view logs in the timezone you want
2128

2229
USAGE:
@@ -52,7 +59,7 @@ Most used autodetectable formats
5259
| ---------------- | ------------------------------- |
5360
| RFC2822 | Fri, 28 Nov 2014 12:00:09 +0000 |
5461
| RFC3339 | 2014-11-28T12:00:09+0000 |
55-
| Nginx Log format | 04/Nov/2018:12:13:49 |
62+
| Nginx Log format | 04/Nov/2018:12:13:49 +0000 |
5663

5764
## Usecase
5865

@@ -77,7 +84,7 @@ $ cat somelog # A log in non-standard format
7784
2018-11-03 20:07:20 mvcc: store.index: compact 106120
7885
2018-11-03 20:07:20 mvcc: finished scheduled compaction at 106120 (took 933.25µs)
7986

80-
$ cat somelog | tztail -t Asia/Kolkata -f "%Y-%m-%d %H:%M:%S"
87+
$ cat somelog | tztail -t Asia/Kolkata --format "%Y-%m-%d %H:%M:%S"
8188
2018-11-04 01:37:20 mvcc: store.index: compact 106120
8289
2018-11-04 01:37:20 mvcc: finished scheduled compaction at 106120 (took 933.25µs)
8390
```
@@ -99,14 +106,3 @@ $ cargo install
99106
# To run tests
100107
$ cargo test
101108
```
102-
103-
## Roadmap
104-
105-
- [x] Support all standard datetime formats.
106-
- [x] Allow custom datetime format.
107-
- [x] Add option to read from file.
108-
- [x] Auto-detect source timezone if possible.
109-
- [ ] Allow specifying source timezone explicitly.
110-
- [ ] Support GCP/AWS cloud logging formats.
111-
- [ ] Performance optimizations
112-
- [ ] Add support to pass time-window which would only show the logs in that time period

0 commit comments

Comments
 (0)