Sumo Logic

Cloud Log Management, Monitoring, SIEM Tools

Go to site
Explore
/
Apps
/
Sumo Logic

Sumo Logic API Integrations

Build and run workflows using the Sumo Logic API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

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}`,
      },
    })
  },
})

Authentication

Sumo Logic uses API keys for authentication. When you connect your Sumo Logic account, Pipedream securely stores the keys so you can easily authenticate to Sumo Logic APIs in both code and no-code steps.

See Access Keys to generate an access key. See [docs] for your deployment (such as AU, CA, US2, etc).