Getting Started with the Mezmo Platform
Manage Source Data
Build Telemetry Pipelines
Monitor Data and Create Alerts
Pipeline Destinations
Pipeline Processors
Reference
Other Mezmo Resources
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
HTTP Client
AI Tools
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Description
This is a pull source that periodically polls a remote HTTP endpoint to collect data. Unlike push sources where external systems send data to the Pipeline, the HTTP Client source actively requests data from a specified URL at a configurable interval.
You would typically use the HTTP Client source when:
- The service you want to collect data from does not support push-based delivery
- You need to poll health check, status, or metrics endpoints at regular intervals
- You want to ingest data from external REST APIs or HTTP services
This source is available for both SaaS and Edge deployments.
Configuration
Configuration Options
| Option | Description |
|---|---|
| Title | A name for your source. |
| Description | A short description of the source. |
| Endpoint | The URL to poll for data. Must be a valid URI. |
| Method | The HTTP method to use when polling the endpoint. Options: GET, POST, PUT, PATCH, DELETE, HEAD. Default: GET. |
| Scrape Interval (seconds) | The interval between polling requests, in seconds. Range: 15 to 86,400. Default: 30 seconds. |
| Scrape Timeout (seconds) | The maximum time to wait for a response from each polling request. Range: 5 to 60 seconds. Default: 10 seconds. |
| Headers | Custom headers to include in the HTTP request, specified as key-value pairs. |
| Decoding | How to decode the response data. Options: bytes (plain text) or json. Default: bytes. |
| Authentication Strategy | The authentication method to use. Options: none, basic, or bearer. Default: none. |
Authentication
The HTTP Client source supports two authentication methods:
Basic Authentication
Select basic as the authentication strategy and provide:
- User: The user for authentication.
- Password: The password for authentication.
Bearer Token Authentication
Select bearer as the authentication strategy and provide:
- Token: The bearer token for the
Authorizationheader.
Decoding Options
- bytes: Treats the response body as plain text and places it in the
messagefield as-is. Useful for text-based responses or when parsing with a subsequent processor. - json: Parses the response body as JSON and places the resulting object in the
messagefield. Useful when the endpoint returns JSON data.
Example Use Cases
Polling a REST API
To poll a REST API that returns JSON data:
- Set Endpoint to your API URL, for example
https://api.example.com/status. - Set Method to
GET. - Set Decoding to
jsonto parse the response automatically. - Set Authentication Strategy to
bearerand provide your API token. - Adjust Scrape Interval based on how frequently the data changes.
Collecting Metrics from a Health Endpoint
To poll a service health check endpoint:
- Set Endpoint to the health check URL.
- Set Scrape Interval to a short interval like 15 or 30 seconds for frequent monitoring.
- Add any required Headers for authentication or content negotiation.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on Jun 16, 2026
Was this page helpful?
Next to read:
Datadog Agent V2null
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message