GetLogsMetric
Retrieve specific log-based metrics from your Datadog organization using the metric ID. Streamline monitoring and analysis by accessing relevant data efficiently.
Instructions
Get a specific log-based metric from your organization.
Path Parameters:
- metric_id (Required): The name of the log-based metric.
Responses:
- 200 (Success): OK
- Content-Type:
application/json
- Response Properties:
- Example:
- Content-Type:
- 403: Not Authorized
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 404: Not Found
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 429: Too many requests
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
metric_id | Yes | The name of the log-based metric. |