GithubHelp home page GithubHelp logo

isabella232 / log-stream-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry/log-stream-cli

0.0 0.0 0.0 44 KB

Cloud Foundry CLI plugin to consume logs and metrics from the RLP

License: Apache License 2.0

Go 100.00%

log-stream-cli's Introduction

Log Stream CLI Plugin Concourse Badge

The Log Stream CLI Plugin is a CF CLI plugin to retrieve logs from a Loggregator V2 stream

Installing Plugin

From CF-Community

cf install-plugin -r CF-Community "log-stream"

From Binary Release

  1. Download the binary for the latest release for your platform.
  2. 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:
   --shard-id       Distribute logs between multiple consumers
   --type, -t       Filter the streamed logs. Available: 'log','event','counter','gauge','timer'. Allows multiple.

The source-id can either be the application name, the application guid or the name of the component (e.g. doppler, uaa, gorouter...). You can provide as many source-ids as you want. If you are a platform admin (you have the the logs.admin scope from UAA), then you can also omit the source-id and you see all messages available in the RLP.

log-stream-cli's People

Contributors

chentom88 avatar jtuchscherer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.