with Splunk HTTP Event Collector and TransForm?
Emit new event when a response for a form is submitted
Checks the health status of the Splunk HTTP Event Collector to ensure it is available and ready to receive events. See the documentation
Sends multiple events in a single request to the Splunk HTTP Event Collector. See the documentation
Submit a form via JSON. See the docs. For a better user experience use the Alpha TransForm Mobile App
Sends an event to Splunk HTTP Event Collector. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
splunk_http_event_collector: {
type: "app",
app: "splunk_http_event_collector",
}
},
async run({steps, $}) {
const data = {
"event": `Hello world!`,
"sourcetype": `manual`,
}
return await axios($, {
method: "post",
url: `${this.splunk_http_event_collector.$auth.api_url}:${this.splunk_http_event_collector.$auth.port}/services/collector`,
headers: {
"authorization": `Splunk ${this.splunk_http_event_collector.$auth.api_token}`,
},
params: {
channel: `2AC79941-CB26-421C-8826-F57AE23E9702`,
},
data,
})
},
})
The TransForm API allows you to automate server management tasks like creating, updating, and managing servers across multiple cloud platforms. It can be a game-changer for DevOps teams, system administrators, and developers who manage cloud infrastructure. By interfacing with TransForm via Pipedream, you can craft workflows that streamline server provisioning, configuration, and monitoring processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
transform: {
type: "app",
app: "transform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://transform.alphasoftware.com/transformAPIVersion1.a5svc/getUsersInTransformAccount`,
headers: {
"apikey": `${this.transform.$auth.api_key}`,
},
})
},
})