Loggly integration for sending data (separate credentials are required to read data)
Go to siteimport { 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,
})
},
})
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.