Skip to content
This repository has been archived by the owner on Jul 4, 2019. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 733 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 733 Bytes

A system to view and modify your logsDrain on heroku.

Prerequist

Setup heroku and/or logentries env.var. export HEROKU_API_TOKEN=<your-token> export LOGENTRIES_API_KEY=<your-api-key>

#Usage

node main.js [command] [argouments]

Commands:

heroku
  arguments:
    haveDrains
      List all apps and info about the logDrains that are setup.

    missingDrains
      List all apps that are missing Drains

logentries
  arguments:
    list
      List all info about all hosts
    get(hostname);
      List info about one host

Add Logentries to Heroku

node herokuToLogentries.js

This will add Logentries to all Heroku apps that are missing a drain