hubot-splunk-mint

0.0.7 • Public • Published

hubot-splunk-mint

Access data from Splunk Mint (former BugSense) via hubot.

Installation

Add hubot-splunk-mint to your package.json file:

"dependencies": {
  "hubot": ">= 2.5.1",
  "hubot-scripts": ">= 2.4.2",
  "hubot-splunk-mint": "*"
}

Add hubot-splunk-mint to your external-scripts.json file:

[
  "hubot-splunk-mint"
]

Run npm install

Configuration

In order to use hubot-splunk-mint, you need to set two environment variables:

  • HUBOT_SPLUNK_KEY: Your SplunkMint API key. It can be found here.
  • HUBOT_SPLUNK_PROJECT_KEYS: Your project API key. It can be found here. Format must be something like HUBOT_SPLUNK_PROJECT_KEYS=projectA=123123,projectB=456456

Sample Interaction

Hubot> hubot splunk projectA crashes
Hubot> Shell: There are 0 crashes today. Yesterday, they were 2.
Hubot> hubot splunk projectA sessions
Hubot> Shell: There are 17 sessions today. Yesterday, they were 29.
Hubot> hubot splunk projectA uniques
Hubot> Shell: There are 12 unique_users today. Yesterday, they were 20.

Credits

This script was based on Jared Barboza's implementation of hubot-trello.

Package Sidebar

Install

npm i hubot-splunk-mint

Weekly Downloads

1

Version

0.0.7

License

MIT

Last publish

Collaborators

  • gustavocsb