Loggly (Send Data)

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

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

Setup the Loggly (Send Data) API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate Loggly (Send Data) and Formatting 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
[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it

Overview of Loggly (Send Data)

Loggly provides an API that lets you send data to Loggly. This data can be used
to build a variety of things, including:

  • A dashboard of your logs
  • A system to monitor your logs
  • A way to visualize your logs
  • A system to alert you when something goes wrong with your logs

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

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})