Skip to content

Instantly share code, notes, and snippets.

@mrister
Last active May 25, 2017 07:55
Show Gist options
  • Save mrister/d4b9ebce1cec5e3bdb5ca2fb31c34bb9 to your computer and use it in GitHub Desktop.
Save mrister/d4b9ebce1cec5e3bdb5ca2fb31c34bb9 to your computer and use it in GitHub Desktop.
Loggly: Create a client with JSON enabled
const client = loggly.createClient({
token: 'YOUR_APPLICATION_TOKEN',
subdomain: 'YOUR_SUBDOMAIN',
tags: ['first-tag', 'second-tag', 'third-tag'],
json: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment