Configuration
This section explains each of the properties in the configuration blade.

General
Collection
This associates this Agent to a specific Collection and defaults to that of the current Data Stream.
Polling Interval (seconds)
A timespan to specify how often should the Agent check for new data/changes or update its cache.
Service Details
Use Variables
Tick to select saved variables; or enter the text manually for the authentication properties.
Base Url
The base Url of the API server. e.g. http://api.weatherstack.com/
Metadata File
The metadata configuration file includes the operations available, their operations, and the output schema of the operations.
Refer to Metadata File Configuration for more information.
Use Authentication
Tick to provide REST API Authentication details; or connect to REST API anonymously.
Authentication Type
The authentication methods supported are: (applies when Use Authentication is ticked)
Basic
Bearer Token
Custom Header
Username
The username required to access the API (applies to Basic Authentication Type only).
Password
The password required to access the API (applies to Basic Authentication Type only).
Bearer Token
The token for accessing the API (applies to Bearer Token Authentication Type only).
Custom Header Key
The HTTP header key is added to the request headers (applies to Custom Header Authentication Type only).
Custom Header Rest Request
Tick this to use a separate Rest request to supply the Custom Header Value, or leave unticked to manually enter or select a variable containing a pre-generated value (applies to Custom Header Authentication Type only).
Custom Header Value
The HTTP header value is added to the request headers (applies to Custom Header Authentication Type only, and only if Custom Header Rest Request is unticked).
Header Request Method
The HTTP method type of the Rest request that will fetch the Custom Header value (applies to Custom Header Authentication Mode, and only when Custom Header Rest Request is ticked). Options are:
Get
Post
Put
Header Request Url
The Url from which to request the the Custom Header value (applies to Custom Header Authentication Mode, and only when Custom Header Rest Request is ticked).
Header Request Body
The body (if any) of the Rest request that will fetch the Custom Header value (applies to Custom Header Authentication Mode, and only when Custom Header Rest Request is ticked).
Path to Header Value
The JSON path describing where in the response the Custom Header value will be found (applies to Custom Header Authentication Mode, and only when Custom Header Rest Request is ticked).
Operation
Operation
The operation to be performed. The list is populated from the uploaded metadata configuration file.
Result Entity
The entity against which the operation is performed (applies when reponseSchema is specified in the metadata JSON file). The list of entities is populated from the uploaded metadata configuration file.
Result Path
The JSON path at which the single object or array of objects to be output will be found in the response. The list of possible paths is populated from the uploaded metadata configuration file.
Input Mapping
The properties grid is populated an operation is selected.
Parameter
The parameter specified in the uploaded metadata configuration file.
Value
The static value of the parameter.
Endpoints
Output
An event per record from the Rest API will be made available to this endpoint with attributes matching the configured schema.
Error
If errors are encountered during the execution of this Agent, they will be published on this endpoint.
Last updated