Skip to content

Latest commit

 

History

History
114 lines (78 loc) · 2.3 KB

drains.md

File metadata and controls

114 lines (78 loc) · 2.3 KB

heroku drains

forward logs to syslog or HTTPS

heroku drains

display the log drains of an app

USAGE
  $ heroku drains -a <value> [-r <value>] [--json]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            output in json format

DESCRIPTION
  display the log drains of an app

See code: src/commands/drains/index.ts

heroku drains:add URL

adds a log drain to an app

USAGE
  $ heroku drains:add URL -a <value> [-r <value>]

ARGUMENTS
  URL  URL of the log drain

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  adds a log drain to an app

See code: src/commands/drains/add.ts

heroku drains:get

display the log drain for a space

USAGE
  $ heroku drains:get -s <value> [--json]

FLAGS
  -s, --space=<value>  (required) space for which to get log drain
      --json           output in json format

DESCRIPTION
  display the log drain for a space

ALIASES
  $ heroku drains:get

heroku drains:remove URL

removes a log drain from an app

USAGE
  $ heroku drains:remove URL -a <value> [-r <value>]

ARGUMENTS
  URL  URL of the log drain

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  removes a log drain from an app

EXAMPLES
  drains:remove [URL|TOKEN]

See code: src/commands/drains/remove.ts

heroku drains:set URL

replaces the log drain for a space

USAGE
  $ heroku drains:set URL -s <value>

ARGUMENTS
  URL  URL to replace the log drain with

FLAGS
  -s, --space=<value>  (required) space for which to set log drain

DESCRIPTION
  replaces the log drain for a space

ALIASES
  $ heroku drains:set