Create a Monitoring Pipeline Instance
To create or update a Pipeline, you need to provide the complete Pipeline configuration. If you wish to create a new Pipeline or modify an existing one with a specified ID, you should include all necessary details in your request. Optional fields will be automatically populated with default values or left empty if not provided. To ensure that the Pipeline is created or updated correctly, perform a PUT
request with the full Pipeline data.
Pipeline authentication for secure metric ingestion
To ensure secure and authorized metric data submission, each Monitoring Pipeline is assigned a unique key
upon creation. This key acts as a credential for metric exporters or agents pushing data to the pipeline's HTTP endpoint.
For security reasons, the API key is not returned in the response after creating a pipeline. It's crucial to store the key securely during pipeline creation for future reference.
Key points
The
key
is included in themetadata
section of the pipeline response (see"key": "momSrlgAAEmaYEvBsMr^HsYn"
in the example).Metric exporters or agents must be configured to include this key in their requests to the pipeline's HTTP endpoint for successful data ingestion.
This mechanism safeguards the pipeline from unauthorized data submissions and maintains data integrity within the Monitoring Service.
Best practices
Store the pipeline key securely for authorized metric sources only.
Avoid sharing or exposing the key publicly.
Consider rotating pipeline keys periodically for enhanced security.
To create a Monitoring Pipeline, perform a POST
request.
Request
Below is the list of mandatory body parameters for creating a Pipeline:
Body Parameters | Required | Type | Description | Example |
---|---|---|---|---|
| no | object | Metadata |
|
| yes | object | A pipeline consists of the generic rules and configurations of a monitoring pipeline instance. |
|
| yes | string | Name of your Pipeline. |
|
Response
The following is a sample response. The values returned by each response differ based on the request.
Result: A Monitoring Pipeline is successfully created.
Last updated