Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
/ log2viz Public archive

DEFUNCT: Realtime analysis of your Heroku app logs.

Notifications You must be signed in to change notification settings

heroku/log2viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

DEFUNCT: Realtime analysis of your Heroku app logs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published