Sumo Logic

Cloud Log Management, Monitoring, SIEM Tools

Integrate the Sumo Logic API with the GitHub API

Setup the Sumo Logic API trigger to run a workflow which integrates with the GitHub API. Pipedream's integration platform allows you to integrate Sumo Logic and GitHub remarkably fast. Free for developers.

New Branch from the GitHub API

Emit new event when a branch is created See the documentation

 
Try it
New Card in Column (Classic Projects) from the GitHub API

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

 
Try it
New Collaborator from the GitHub API

Emit new event when a collaborator is added See the documentation

 
Try it
New Commit from the GitHub API

Emit new event when commits are pushed to a branch See the documentation

 
Try it
New Commit Comment from the GitHub API

Emit new event when a commit comment is created See the documentation

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
Create Branch with the GitHub API

Create a new branch in a Github repo. See docs here

 
Try it
Create Gist with the GitHub API

Allows you to add a new gist with one or more files. See docs here

 
Try it
Create Issue Comment with the GitHub API

Create a new comment in a issue. See docs here

 
Try it

Overview of Sumo Logic

The Sumo Logic API is a powerful and easy to use tool that can be used to
enhance your data experience. You can use it to build custom solutions for your
data needs or integrate it into existing solutions for greater flexibility and
control.

Some of the most common things you can build using the Sumo Logic API include:

  • Collect and manage log data from multiple sources
  • Automate analyses and transformations of raw data
  • Create custom dashboards and visualizations
  • Automatically investigate data anomalies
  • Manage data pipelines and data flows
  • Integrate with other services and applications
  • Generate ad-hoc reports and alerts
  • Build custom search queries to locate specific data elements
  • Distribute datasets to other systems and services

Connect Sumo Logic

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    sumo_logic: {
      type: "app",
      app: "sumo_logic",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.${this.sumo_logic.$auth.deployment}.sumologic.com/api/v1/users`,
      auth: {
        username: `${this.sumo_logic.$auth.accessId}`,
        password: `${this.sumo_logic.$auth.accessKey}`,
      },
    })
  },
})

Connect GitHub

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    github: {
      type: "app",
      app: "github",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.github.com/user`,
      headers: {
        Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
        "X-GitHub-Api-Version": `2022-11-28`,
      },
    })
  },
})