Create a Monitoring Pipeline Instance
Creates a new Pipeline.
The full Pipeline needs to be provided to create the object. Optional data will be filled with defaults or left empty.
To ensure that the Pipeline with the provided ID is created or modified, perform
PUT
request.
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:
metadata
no
object
Metadata
{}
properties
yes
object
A pipeline consists of the generic rules and configurations of a monitoring pipeline instance.
{ "name": "Pipeline1" }
properties.name
yes
string
Name of your Pipeline.
Pipeline1
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