Loggly integration for sending data (separate credentials are required to read data)
Go to siteLoggly 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,
})
},
})
Send events to Loggly, with tags. See the docs for more details
Loggly (Send Data) uses API keys for authentication. When you connect your Loggly (Send Data) account, Pipedream securely stores the keys so you can easily authenticate to Loggly (Send Data) APIs in both code and no-code steps.
Enter your Loggly customer token below.