<commit_before># node-loggly

A client implementation for Loggly in node.js

## Installation

### Installing npm (node package manager)
<pre>
  curl http://npmjs.org/install.sh | sh
</pre>

### Installing winston
<pre>
  [sudo] npm install loggly
</pre>

## Usage

The node-loggly library is compliant with the [Loggly API][0]. Using node-loggly is easy for a variety of scenarios: logging, working with devices and inputs, searching, and facet searching.

### Getting Started
Before we can do anything with loggly, we have to create a client with valid credentials. We will authenticate for you automatically: 
<pre>
  var loggly = require('loggly');
  var config = {
    subdomain: "your-subdomain",
    auth: {
      username: "your-username",
      password: "<PASSWORD>"
    }
  };
  var client = loggly.createClient(config);<commit_msg>[doc] Fix typo in README.md<commit_after># node-loggly

A client implementation for Loggly in node.js

## Installation

### Installing npm (node package manager)
<pre>
  curl http://npmjs.org/install.sh | sh
</pre>

### Installing node-loggly
<pre>
  [sudo] npm install loggly
</pre>

## Usage

The node-loggly library is compliant with the [Loggly API][0]. Using node-loggly is easy for a variety of scenarios: logging, working with devices and inputs, searching, and facet searching.

### Getting Started
Before we can do anything with loggly, we have to create a client with valid credentials. We will authenticate for you automatically: 
<pre>
  var loggly = require('loggly');
  var config = {
    subdomain: "your-subdomain",
    auth: {
      username: "your-username",
      password: "<PASSWORD>"
    }
  };
  var client = loggly.createClient(config);
{'fraction_non_alphanumeric': 0.10810810810810811, 'fraction_numerical': 0.0011750881316098707, 'mean_word_length': 3.9077809798270895, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2906414', 'n_tokens_mistral': 521, 'n_tokens_neox': 501, 'n_words': 197}