with Sierra Interactive and Splunk HTTP Event Collector?
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
Sends an event to Splunk HTTP Event Collector. See the documentation
The Sierra Interactive API offers a suite of functions geared towards real estate professionals, enabling users to manage leads, property listings, and perform various CRM-related tasks. With Pipedream's serverless platform, you can build automated workflows that leverage the Sierra Interactive API to streamline your real estate business processes. Pipedream facilitates the integration of Sierra Interactive with numerous other apps, such as Google Sheets for data storage, Slack for notifications, or Mailchimp for email marketing, to create powerful, customized solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sierra_interactive: {
type: "app",
app: "sierra_interactive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sierrainteractivedev.com/users`,
headers: {
"Content-Type": `application/json`,
"Sierra-ApiKey": `${this.sierra_interactive.$auth.api_key}`,
"Sierra-OriginatingSystemName": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})
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,
})
},
})