Loggly integration for sending data (separate credentials are required to read data)
Send events to Loggly, with tags. See the docs for more details
Loggly provides an API that lets you send data to Loggly. This data can be used
to build a variety of things, including:
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,
})
},
})
With Schedule - A trigger provided by Pipedream - You can easily build
automated workflows that run on regular times or intervals. Some examples of
things that you can build using the Schedule API include: