hubot-splunk-mint
v0.0.7
Published
Access data from Splunk Mint via hubot.
Downloads
9
Maintainers
Readme
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 likeHUBOT_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.