Skip to content

Commit

Permalink
new: added example how to use !~= operator in field filter (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
pamburus committed Mar 21, 2024
1 parent 8023cab commit 104764c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["command-line-utilities"]
description = "Utility for viewing json-formatted log files."
keywords = ["cli", "human", "log"]
name = "hl"
version = "0.27.0-beta.4"
version = "0.27.0-beta.4.1"
edition = "2021"
build = "build.rs"

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ High performance and convenient features are the main goals.
```
Displays only messages where the `provider` field contains the `string` sub-string.

- Command

```
$ hl example.log -f 'provider!~=string'
```
Displays only messages where the `provider` field does not contain the `string` sub-string.


### Performing complex queries

Expand Down

0 comments on commit 104764c

Please sign in to comment.