Giter VIP home page Giter VIP logo

splunk-sqs's Introduction

Setup

  1. Set the SPLUNK_HOME environment variable to the root directory of your Splunk instance. (/opt/splunk on centos in AWS)
  • Copy this whole splunk_sqs folder to $SPLUNK_HOME/etc/apps.

  • Open a terminal at $SPLUNK_HOME/etc/apps/github_commits/bin/app.

  • Run npm install.

    If this step fails

    1. Clone the SDK from Github.
    • Copy the full splunk-sdk-javascript folder to $SPLUNK_HOME/etc/apps/github_commits/bin/app/node_modules.
    • Rename this copied folder as splunk-sdk.
    • Run npm install github.
  • Restart Splunk

Adding an input * TODO *

  1. From Splunk Home, click the Settings menu. Under Data, click Data inputs, and find Github commits, the input you just added. Click Add new on that row.
  • Click Add new and fill in:
    • name (whatever name you want to give this input)
    • owner (the owner of the Github repository, this is a Github username or org name)
    • repository (the name of the Github repository)
    • (optional) token if using a private repository and/or to avoid Github's API limits. To get a Github API token visit the Github settings page and make sure the repo and public_repo scopes are selected.
  • Save your input, and navigate back to Splunk Home.
  • Do a search for sourcetype=github_commits and you should see some commits indexed, if your repository has a large number of commits indexing them may take a few moments.

splunk-sqs's People

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.