PSM event pretty printer
  • Go 89.4%
  • Shell 10.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-04-21 13:00:43 +09:00
.gitignore Initial 2016-11-29 08:43:14 +01:00
build.sh Upload from build script 2016-11-29 08:56:04 +01:00
LICENSE Initial 2016-11-29 08:43:14 +01:00
main.go Support session Gy events 2017-04-21 13:00:43 +09:00
peekingdecoder.go Cleanups 2016-11-29 08:46:13 +01:00
README.md Initial 2016-11-29 08:43:14 +01:00

psmevents

This program connects to the PSM event stream and pretty prints the events for human consumption. Object update events can be printed in diff -u format.

psmevents is an open source component provided without any warranty or support. Please read the LICENSE file.

Usage

Usage:
  psmevents [options] [PSM JSON-RPC address]

Options (with their default values):
  -diff=true: Use diff for object.updated events
  -diff-context=2: Number of lines in diff context
  -groups=true: Subscribe to group events
  -sessions=true: Subscribe to session events
  -subscribers=true: Subscribe to subscriber events

When no address is given, events are read from stdin.

Examples:
  psmevents < events.json                # parse and clarify events from a capture file
  psmevents -diff=false 192.0.2.23:3994  # connect to PSM at 192.0.2.23, subscribe to all events