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
![Screenshot][Screenshot]
## Options
| Option | Description |
| -------------- | -------------------------------------- |
| `-f, --follow` | Follow (tail) the contents of the file |
| `-t, --tail` | Start at the end of the file |
[Screenshot]: data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUEAAA8vbWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAABIaWxvYwAAAABEAAAEAAEAAAABAAPpGQADJzUAAgAAAAEAABGnAAPXcgADAAAAAQAAD1cAAACOAAQAAAABAAAP5QAAAcIAAACHaWluZgAAAAAABAAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAGmluZmUCAAAAAAIAAGF2MDFBbHBoYQAAAAAZaW5mZQIAAAAAAwAARXhpZkV4aWYAAAAALGluZmUCAAAAAAQAAG1pbWVYTVAAYXBwbGljYXRpb24vcmRmK3htbAAAAAA2aXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAA5jZHNjAAMAAQABAAAADmNkc2MABAABAAEAAA3oaXBycAAADcFpcGNvAAAAFGlzcGUAAAAAAAAI2AAABcIAAAAQcGl4aQAAAAADCAgIAAAADGF2MUOBLAAAAAANJGNvbHJwcm9mAAANGGFwcGwCEAAAbW50clJHQiBYWVogB+cACQAJAAgALgAlYWNzcEFQUEwAAAAAQVBQTAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAA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