Git Product home page Git Product logo

logplex-cli's Introduction

Logplex client

Usage

cloud mycloud  # or export LOGPLEX_ENDPOINT
export LOGPLEX_AUTH_KEY=...

logplex-cli channel create
logplex-cli channel destroy
logplex-cli drain add
logplex-cli drain remove

logplex-cli's People

Contributors

srid avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

logplex-cli's Issues

Retry on timeout

this tends to happen:

logplex-cli channel create dlo-TwoMin-channel dlo-TwoMin-token > tests/TwoMin-r2000per1s-s128-d120/run.channel.json
2015/08/17 14:57:02 Post https://logs-api.herokai.com/channels: dial tcp: i/o timeout
make[1]: *** [setup-channel-drain] Error 1
make: *** [test] Error 2

perhaps something like:

logplex-cli --retry=3 channel create ...

Command to post logs to channel

Would be nice to have a logplex-cli postlogs <channelId> <token> command to send data on a created channel.

in curl this is achieved using:

curl -v   -H "Content-Type: application/logplex-1"     -H "Logplex-Msg-Count: 1"     -d "116 <134>1 2012-12-10T03:00:48.123456Z erlang t.d3d544b8-bb81-49d7-a65c-e44d217ff57b console.1 - - Logsplat test message 1"     http://token:t.d3d544b8-bb81-49d7-a65c-e44d217ff57b@$(docker-machine ip default):8601/logs

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.