Last active
May 21, 2017 20:05
-
-
Save mrister/31e18ca48cbbdb5b08d1ffe5e322094e to your computer and use it in GitHub Desktop.
Create a loggly client in node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/loggly/node-loggly-bulk#getting-started | |
const loggly = require('node-loggly-bulk'); | |
const client = loggly.createClient({ | |
token: 'YOUR_APPLICATION_TOKEN', | |
subdomain: 'YOUR_SUBDOMAIN' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment