log-cache-cli

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

Log Cache CLI Plugin

GoDoc travis slack.cloudfoundry.org

The Log Cache CLI Plugin is a CF CLI plugin for the Log Cache system.

Installing Plugin
go get code.cloudfoundry.org/log-cache-cli
cf install-plugin $GOPATH/bin/log-cache-cli
Usage
log-cache
$ cf tail --help
NAME:
   tail - Output logs for a source-id/app

USAGE:
   tail [options] <source-id/app>

ENVIRONMENT VARIABLES:
   LOG_CACHE_ADDR       Overrides the default location of log-cache.
   LOG_CACHE_SKIP_AUTH  Set to 'true' to disable CF authentication.

OPTIONS:
   -envelope-type       Envelope type filter. Available filters: 'log', 'counter', 'gauge', 'timer', and 'event'.
   -follow, -f          Output appended to stdout as logs are egressed.
   -gauge-name          Gauge name filter (implies --envelope-type=gauge).
   -json                Output envelopes in JSON format.
   -lines, -n           Number of envelopes to return. Default is 10.
   -start-time          Start of query range in UNIX nanoseconds.
   -counter-name        Counter name filter (implies --envelope-type=counter).
   -end-time            End of query range in UNIX nanoseconds.
log-cache-meta
$ cf log-meta --help
NAME:
   log-meta - Show all available meta information

USAGE:
   log-meta [options]

ENVIRONMENT VARIABLES:
   LOG_CACHE_ADDR       Overrides the default location of log-cache.
   LOG_CACHE_SKIP_AUTH  Set to 'true' to disable CF authentication.

OPTIONS:
   -scope               Scope of meta information to show. Available: 'all', 'applications', and 'platform'.
   -noise               Fetch and display the rate of envelopes per minute for the last minute. WARNING: This is slow...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL