Skip to content
Command Line STDOUT Colorer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Command Line STDOUT Colorizer


Prisma works on all platforms, Linux, OSX and Windows.

  • Python 2.7 (not tested with Python 3)
  • colorama


  • Clone the github repository - with a desktop client on Windows / OSX or via command line git clone
  • Install colorama Python module via sudo easy_install colorama or sudo pip install colorama

Quick Start

Just pipe command line output to

cat /var/log/syslog | python ./

or make it executable and place it in a binary folder in order to use it anywhere you want

chmod +x ./
sudo cp /usr/local/bin
cat /var/log/syslog |


usage: [-h] [-s string [string ...]] [-i] [-w seconds] [--debug]

Prisma - command line colorizer

optional arguments:
  -h, --help            show this help message and exit
  -s string [string ...]
                        Strings to highlight - separated with space 
                        (e.g. -s failed error)
  -i                    Case-insensitive search for strings
  -w seconds            Pause on string match (in seconds)
  --debug               Debug output

Use prisma to find certain string (here: 'error' and 'fail') in an output, be case-insensitive and wait 3 seconds on every match (see animated GIF below for a demo)

cat /var/log/messages | -s error fail -i -w 3


System log file

Log File Output Colorized

Firewall Log

Log File Output Colorized

Strings output on malware sample

Log File Output Colorized

Tcpdump output

Log File Output Colorized

String match and wait option (animated GIF)

String match and wait option

You can’t perform that action at this time.