Commit 40a870df authored by heemayl's avatar heemayl

Update README to add hat-parser example

parent b5ec36b4
......@@ -146,6 +146,22 @@ ID Time Exact Shell Command
1 2018-02-12T03:13:44 Yes - free -g
```
---
Parsing logs (check `hat-parser --help`):
```bash
% hat-parser -f 2018-02-26T02:05:00 -t 2018-02-26T14:18:10
2018-02-26 02:05:10 : euid>1000 : id>3 : time>2018-02-26 02:05:10 : cmd>whoami : ret>0 :: out>chayan
2018-02-26 14:18:06 : euid>1000 : id>1 : time>2018-02-26 10:00:00 : cmd>whoami : ret>0 :: out>chayan
% hat-parser -f 2018-02-26T02:05:00 -t 2018-02-26T14:18:00
2018-02-26 02:05:10 : euid>1000 : id>3 : time>2018-02-26 02:05:10 : cmd>whoami : ret>0 :: out>chayan
```
---
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment