Collect data from Absolute
Overview
Use the HTTP Pull Listener to collect data from the Absolute API. Currently, we support the device reporting endpoint.
HTTP Pull Listener configuration
In Falcon Onum, go to the Listeners area and click New Listener > HTTP Pull. Give a name to your new Listener and enter the following data:
Parameters
N/A
Secrets
You must define these credentials in Onum:
secretKeywill reference your Absolute secret key.TokenIdwill reference your Absolute token ID.
To do it, click Add element and enter a Name for the secret (in this case, secretKey). Then, click the Value field and select New secret to create a new one:
Give the secret a Name.
Turn off the Expiration date option.
Click Add new value and paste the secret corresponding to the value.
Click Save.
You can now select the secret you just created in the Value field list. Repeat the process for the TokenId.
Learn more about secrets in Onum in this article.
Setup
After entering the required parameters and secrets, you can choose to manually enter the rest of configuration fields, or simply paste the given YAML:
Toggle ON the Config as YAML option to enable a free text field where you can paste the following YAML:
Temporal Window
Toggle ON to add a temporal window for events. This repeatedly shifts the time window over which data is collected.
Duration* -
5mOffset* -
5mFormat* -
RFC3339
Authentication
Toggle ON to configure the authentication phase.
Type* -
HMACHMAC
Request
Generate Timestamp - Toggle ON
Timestamp
Format -
RFC1123
Hash
Hashing algorithm* - SHA256
Format* -
base64Secret key -
${secrets.secretKey}Data to sign* -
${request.method}\n${request.relativeUrl}\n${request.timestamp}\n${request.body}\n${request.method}\n${request.relativeUrl}\n${request.timestamp}\n${request.body}\n
Headers
Name -
x-abs-dateValue -
${request.timestamp}Name -
authorizationValue -
Absolute token=${secrets.TokenId}:${hmac.hash}
Collection Phase
Pagination Type* -
Next Link at Response BodySelector* -
.metadata.pagination.nextPageRequest
Response type* -
JSONMethod* -
GETURL* -
https://api.absolute.com/v3/reporting/devicesHeaders
Name -
AcceptValue -
application/jsonName -
Content-TypeValue -
application/json
Query params
Name -
nextPageValue -
${pagination.responseBodyLink}Name -
pageSizeValue -
500Name -
TimeZoneValue -
yourtimezoneName -
lastUpdatedDateTimeUtcFromInclusiveValue -
${temporalWindow.from}Name -
lastUpdatedDateTimeUtcToValue -
${temporalWindow.to}
Output
Select* -
.dataMap -
.Output Mode* -
element
When you're done, click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

