Loggly (Send Data)

Loggly integration for sending data (separate credentials are required to read data)

Integrate the Loggly (Send Data) API with the Go API

Setup the Loggly (Send Data) API trigger to run a workflow which integrates with the Go API. Pipedream's integration platform allows you to integrate Loggly (Send Data) and Go remarkably fast. Free for developers.

Send Event with the Loggly (Send Data) API

Send events to Loggly, with tags. See the docs for more details

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it

Overview of Loggly (Send Data)

The Loggly (Send Data) API enables you to transmit log data into Loggly, a cloud-based log management and analytics service. With this integration, you can automate the aggregation of logs from various sources, analyze them in real-time, and monitor your applications and systems effectively. By leveraging this API on Pipedream, you can create automated workflows that streamline the process of log collection and correlation, set up alerts based on log patterns, and dynamically respond to system events.

Connect Loggly (Send Data)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    loggly_send_data: {
      type: "app",
      app: "loggly_send_data",
    }
  },
  async run({steps, $}) {
    const data = {
      "hello": `world`,
    }
    return await axios($, {
      method: "post",
      url: `https://logs-01.loggly.com/inputs/${this.loggly_send_data.$auth.token}/tag/pipedream-test`,
      params: {
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Overview of Go

You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}