knowledge/technology/applications/cli/tailspin.md

20 lines
843 B
Markdown
Raw Normal View History

2023-12-04 10:02:23 +00:00
---
obj: application
repo: https://github.com/bensadeh/tailspin
---
# tailspin
A log file highlighter
2024-02-12 20:55:34 +00:00
tailspin works by reading through a [log file](../../dev/Log.md) line by line, running a series of regexes against each line. The regexes recognize patterns like dates, numbers, severity keywords and more.
2023-12-04 10:02:23 +00:00
2024-02-12 20:55:34 +00:00
tailspin does not make any assumptions on the format or position of the items it wants to highlight. For this reason, it requires no configuration or setup and will work predictably regardless of the format the [log file](../../dev/Log.md) is in.
2023-12-04 10:02:23 +00:00
2024-09-04 10:50:38 +00:00
![Screenshot](./tailspin.avif)
2023-12-04 10:02:23 +00:00
## Options
| Option | Description |
| -------------- | -------------------------------------- |
| `-f, --follow` | Follow (tail) the contents of the file |
| `-t, --tail` | Start at the end of the file |