meshblu-splunk-event-collector
v2.0.1
Published
[](https://travis-ci.org/octoblu/meshblu-splunk-event-collector) [
For use if you need to push your browserified version
travis encrypt [S3_ACCESS_KEY_SECRET]- add the generated key to the .travis.yml file under
secret_access_keyin the s3 deploy section. - also add the s3
access_key_idto the same section
End result should look like this:
deploy:
- provider: s3
access_key_id: [S3_ACCESS_KEY]
secret_access_key:
secure: [S3_ACCESS_KEY_SECRET]
bucket: [UPLOAD_BUCKET] # octoblu-cdn
region: us-west-2
skip_cleanup: true
detect_encoding: true
local-dir: deploy
upload-dir: [UPLOAD_FOLDER] # js
on:
tags: true
all_branches: true
node: '0.10'Travis (NPM Deploy)[http://docs.travis-ci.com/user/deployment/npm/]
travis encrypt [NPM_ACCESS_KEY]- this key is found in~/.npmrc- add the generated key to the .travis.yml file under
api_keyin the npm deploy section. - also add the npm
emailto the same section
End result should look like this:
deploy:
- provider: npm
skip_cleanup: true
clean_up: false
email: [NPM_EMAIL]
api_key:
secure: [NPM_ACCESS_KEY]
on:
tags: true
all_branches: true
node: '0.11'Usage
Gateblu Installation
Use (gateblu)[https://gateblu.octoblu.com/] to run this as a device.
Manual Installation
npm install meshblu-util -gnpm install meshblu-splunk-event-collectororgit clone [GIT_URL]- go into connector folder
meshblu-util register -t device:meshblu-splunk-event-collector > meshblu.jsonmeshblu-util claimnpm startor to start with debugDEBUG='meshblu-splunk-event-collector*' npm start
Platform Dependencies
Edit the package.json to change the platformDependencies. This will show up when installing the connector in Octoblu and Gateblu.
-A working splunk instance -A meshblu device -Node and NPM installed on your machine.
-How to use: -1. Register a new Meshblu device
- Set the following properties on the options field
- SplunkEventBaseUrl = [Your splunk instance url]
- EventCollectorToken = [Event Collector Token created in Splunk] -2. Subscribe to your existing devices using your registered device from step 1 -3. Start the plugin using 'npm start'
