Giter Club home page Giter Club logo

splunk-demo's Introduction

Splunk Enterprise and HashiCorp Demo

This repository will deploy a Splunk Enterprise instance into AWS and pre-configure some indexes and dashboards to collect logging and telemetry from HashiCorp Vault, HCP Vault and Terraform Cloud for Business.

Get Started

  1. Clone the repo to your own github account
  2. Connect the repo to a new TFC worksapce using the VCS workflow
  3. Ensure that the essential variables are configured:
    1. AWS Credentials
    2. Prefix, Email, ttl and name
    3. splunk_domain
  4. Create an initial plan via the TFC UI
  5. If all the above is done correctly, you'll have a working splunk environment at the output of the splunk_url

Adding the HashiCorp Splunk Dashboards

  1. There are three main integration points for Splunk Dashboards:
    1. HCP Only
    2. On-Premises Vault
    3. Terraform Cloud
  2. For a HashiCorp SE - the easist method is to collect the zipped files and deploy them directly to splunk. You'll need to collect these from a colleague and they should not be shared.

Configure the TFC Dashboard

  1. Login to the splunk dashboard
  2. In the left-hand-side navigation, click the cog next to Apps
  3. Click Install App From File and upload the zipped file
  4. Restart Splunk as part of the process
  5. Navigate to Terraform Cloud for Splunk App
  6. Continue to app setup page
  7. Create a TFC Organization Token and apply it into the setup
  8. Start using the dashboards, etc

Configure the HCP Vault Dashboard

  1. Login to the splunk dashboard
  2. In the left-hand-side navigation, click the cog next to Apps
  3. Click Install App From File and upload the zipped file
  4. Restart Splunk as part of the process
  5. Within the Splunk UI ensure that the collector token is enabled:
    1. Settings -> Data Inputs -> HTTP Event Collector -> Global Settings -> All Tokens = Enabled
    2. Collect the Token Value for the HCP_Vault_Events
  6. Open HCP Dashboard and navigate to your Vault cluster and then Metrics
  7. Configure the Splunk app with your HEC and token from above
    1. HEC Might look something like https://splunk.cameron.aws.hashidemos.io:8088
    2. Note: there is no need to use the example from the HCP-V tutorial or from Splunk website!

splunk-demo's People

Contributors

patshash avatar srlynch1 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.