TSPIN(1)
π TSPIN(1) β tailspin, bestie edition β¨
okay so real talk, this is tspin, the command-line manual page for tailspin (that's section 1 of the manual, iykyk) β and she's about to become your new favorite log-reading bestie π¦
πΈ NAME πΈ
tspin β a log file highlighter. that's it, that's the whole vibe. she highlights your logs. iconic behavior only π
β¨ SYNOPSIS β¨
tspin [OPTION]... [FILE]...
π DESCRIPTION π
tailspin is a command line tool that highlights log files. no cap, that's literally what she does and she does it beautifully. your logs go from "wall of grey text π" to "main character energy π₯" in one command. periodt.
π OPTIONS π
-f,--followβ follows (tails) the contents of the file, like a little duckling following you around π¦. heads up though: this is always true when you're using the--execflag.-p,--printβ prints the output tostdoutinstead of viewing the contents in the pagerless. and it's always true if you're usingstdin, just so you know β¨--theme PATHβ points to your custom theme file. defaults toXDG_CONFIG_HOME/tailspin/theme.toml, or~/.config/tailspin/theme.tomlif that's not set. on Windows it defaults to%APPDATA%\tailspin\theme.toml. you can also set it through theTAILSPIN_THEMEenvironment variable π¨-e,--exec COMMANDβ runs a command and shows the output in a pager. the command traps the interrupt signal so you can cancel and resume follow mode while you're chilling insideless. so handy fr fr π«Ά
example:
tspin --exec 'kubectl logs -f pod_name'
--highlight COLOR1:word1,word2,... COLOR2:word3,word4,...β highlights the words you give it (comma-separated) in the color you pick. your color options areblack,red,green,yellow,blue,magenta,cyan, andwhiteβ and you can slap abright_prefix on any of them (likebright_red) for extra pop β¨
example:
tspin logfile.txt --highlight red:error,fail --highlight green:success,ok
--enable=[HIGHLIGHT_GROUP]β turns off all the highlighting groups except the ones you name. it's a comma-separated list of groups. cannot be used with--disable=[HIGHLIGHT_GROUP](pick a lane, bestie π). possible groups:numbers,urls,emails,pointers,dates,durations,paths,quotes,key-value-pairs,uuids,ipv4,processes,json,keywords.--disable=[HIGHLIGHT_GROUP]β turns off the groups you name. comma-separated list, obviously. cannot be used with--enable=[HIGHLIGHT_GROUP]. important tea β: thekeywordsgroup controls the builtin keywords (booleans, nulls, log severities, and common REST verbs) β but keywords from the config file and the--highlightflag always apply no matter what. possible groups:numbers,urls,emails,pointers,dates,durations,paths,quotes,key-value-pairs,uuids,ipv4,processes,json,keywords.--extras=[EXTRA]β enables extra highlighters, comma-separated. possible values:ipv6,jvm-stack-trace. can also be set via theTAILSPIN_EXTRASenvironment variable π§--pager COMMANDβ overrides the default pager command thattspinuses. keyword here: the command must include the string[FILE], because that gets replaced with the file path internally. no[FILE], no deal π
example:
tspin logfile.txt --pager "ov -f [FILE]"
--completions SHELLβ prints shell completions tostdout. possible values:bash,elvish,fish,powershell,zsh. go get that tab-completion glow-up β--generate-default-themeβ prints the default theme tostdoutas atheme.toml. every value in the output is a default: copy it into~/.config/tailspin/theme.tomland then edit just the styles you want to override. so easy, so slay π
π ENVIRONMENT VARIABLES π
TAILSPIN_PAGERβ set this bad boy to override the default pager. it's equivalent to the--pagerflag. same rule applies: the command must include the string[FILE], which gets replaced with the file path internally. for example,"ov -f [FILE]".TAILSPIN_EXTRASβ comma-separated list of extras to enable by default. equivalent to the--extrasflag. for example,"jvm-stack-trace"or"ipv6,jvm-stack-trace".TAILSPIN_THEMEβ path to the theme file to use. equivalent to the--themeflag π
π¦ SEE ALSO π¦
less(1), tail(1) β the OGs. go show them some love π«Ά
π ABOUT π
Ben Sadeh (github.com/bensadeh/tailspin)
Released under the MIT License π
okay bestie that's the whole page, you're officially a tailspin expert now, no cap πβ¨
β with love, from tailspin 7.0.0, dated 2026-07-14 π (that's the version and the date, in case you were wondering, and yes she ate) π
π¦ where this page comes from
- arch rolling: tailspin 7.0.0-2 Β· MIT
- nixpkgs unstable: tailspin 7.0.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms