hubot-sumologic
Sumologic integration for Hubot
Last updated 4 years ago by aaronblythe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-sumologic 
SYNC missed versions from official npm registry.

hubot-sumologic

NPM version Build Status Coverage Status

Sumologic integration for Hubot

See src/sumologic.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-sumologic --save

Then add hubot-sumologic to your external-scripts.json:

["hubot-sumologic"]

Configuration

sumologic requires a bit of configuration to get everything working:

Example Interaction

URL Link to the UI

user1>> hubot sumo ui url
hubot>> https://service.sumologic.com

List of dashboards

user1>> hubot sumo dashboards
hubot>> ID: 1234567, Name: Nginx - Visitor Locations 
ID: 1234568, Name: Linux Login Status 
ID: 1234569, Name: Nginx - Visitor Traffic Insight
...

Data in specific dashboards

user1>> hubot sumo dashboard 1234567 data
hubot>> | count | client_ip | 
| 8619 | 10.0.0.1 |
| 9 | 10.0.0.2 |

**log_level** **count**  
ID: 7654321 no results 

**message** **count**  
ID: 7654322 no results 

**bot_name** **count**  
ID: 7654323 no results 

| count | url | 
| 8619 | /rest/something/failing/alot/json |
| 2 | /favicon.ico |
 
| status_code | count | 
| 404 | 8621 |
| 302 | 882 |
| 304 | 49 |
| 401 | 7 |
...

Count of a occurence of a specific query

user1>> hubot sumo search count error
hubot>> Count 100, Category: linux_apps_logs, Host: example-host1.com
        Count 10, Category: docker/local/json, Host: example-host2.com

Count of a occurence of a specific query

user1>> hubot sumo search count error last 30
hubot>> Count 50, Category: linux_apps_logs, Host: example-host1.com
        Count 5, Category: docker/local/json, Host: example-host2.com

Resources

Current Tags

  • 0.2.3                                ...           latest (4 years ago)

5 Versions

  • 0.2.3                                ...           4 years ago
  • 0.2.2                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (12)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |