Skip to content

Commit

Permalink
Added documentation about PATH value type helpers #3703 (#4141)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jun 12, 2022
1 parent 8bc93f9 commit 9172034
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/sources/user/Event-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,22 @@ DATETIME(0)
DATETIME("2020-12-23T12:34:56.789")
```

### Path value helper

The path helper is:
```
PATH(str)
```

It allows to check a path on a per path segment basis.

For example the path helper:
```
path contains PATH('bin')
```

Will match `/usr/bin` and `/usr/local/bin` but not `/usr/local/sbin`.

## References

* [log2timeline filtering 101](http://blog.kiddaland.net/2012/12/log2timeline-filtering-101.html)
Expand Down

0 comments on commit 9172034

Please sign in to comment.