To set up and configure GitHub with Sumo Logic, you will runn an automated script using a curl command in a terminal or command line. The script prompts for information configured during setup.
Run the following command:
sh -c "$(curl -sSL https://raw.githubusercontent.com/SumoLogic/sumologic-solution-templates/github_getting_started_guide/software-development-optimization-terraform/scripts/getting-started)" -- github
Enter your GitHub and Sumo Logic information at the prompts:
Enter the GitHub personal access token you created in Create a Sumo Logic access key.
Enter the name of the GitHub organization you would like to collect GitHub data on.
Enter the Sumo Logic Personal Access Token you created in Create a GitHub personal access token.
Enter the region you created your Sumo Logic account in. Use this API best practices doc to determine which region code to provide
The script will download a specific version of Terraform and dependent plugins and apply Terraform code. The Terraform installed will not interfere with any existing installations of Terraform.
If the script completes, you will have a new folder called Software Development Optimization in your Sumo Logic Personal folder. There will be a collection of GitHub dashboards that will populate as you and your team use GitHub.