Log Stream CLI Plugin

The Log Stream CLI Plugin is a CF CLI plugin to retrieve logs from
a Loggregator V2 stream
Installing Plugin
cf install-plugin -r CF-Community "log-stream"
From Binary Release
- Download the binary for the latest release for your
platform.
- Install it into the cf cli:
cf install-plugin download/path/log-stream-cli
From Source Code
Make sure to have the latest Go toolchain installed.
go get code.cloudfoundry.org/log-stream-cli/cmd/log-stream-cli
cf install-plugin $GOPATH/bin/log-stream-cli
Usage
Log Stream
$ cf log-stream --help
NAME:
log-stream - Stream all messages of all types from Loggregator
USAGE:
log-stream <source-id> [<source-id>] [options]
OPTIONS:
--type, -t Filter the streamed logs. Available: 'log','event','counter','gauge','timer'. Allows multiple.