Giter Site home page Giter Site logo

log2viz's Introduction

DEFUNCT: log2viz

This project and the log2viz.herokuapp.com service are no longer actively maintained by Heroku.

http://log2viz.herokuapp.com/

Realtime analysis of your Heroku app logs.

Installing Locally

Requirements

Get the code

Clone the repository and install the required gems.

$ git clone [email protected]:heroku/log2viz.git
$ cd log2viz
$ bundle install
$ cp .env.sample .env

Set up OAuth

log2viz uses OAuth to obtain authorization to fetch your application’s logs using the Heroku API. To make this work, you have to register an OAuth client with Heroku. The easiest way to do this is on your account page on the Heroku Dashboard. Enter http://localhost:5000/auth/heroku/callback when prompted for a callback URL. The OAuth developer doc has additional details on client creation and OAuth in general.

When registering the client you get an OAuth client id and secret. Add these as HEROKU_ID and HEROKU_SECRET environment variables to your application’s .env.

Start the server

$ foreman start

And you’re done! Your app will be running at http://localhost:5000

Running on Heroku

Create an application

$ heroku create -a myviz

Create a new OAuth client

Register a new OAuth client as described above, this time using the URL of your publicly running app for the callback, i.e. https://myviz.herokuapp.com/auth/heroku/callback.

And set the appropriate variables on your Heroku app:

$ heroku config:set HEROKU_ID=xxxxxxxx \
	HEROKU_SECRET=xxxxxx 

Deploy

$ git push heroku master

Visit your app at https://myviz.herokuapp.com

Meta

Released under the MIT license.

log2viz's People

Contributors

adamwiggins avatar bdotdub avatar catsby avatar danp avatar dominic avatar friism avatar keithrobinson avatar ntodd avatar raulb avatar schneems avatar steveklabnik avatar tmilewski avatar toreriklinnerud 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.