Skip to main content

log_metrics

Overview

Namelog_metrics
TypeResource
Iddatadog.log_metrics.log_metrics

Fields

NameDatatypeDescription
idstringThe name of the log-based metric.
attributesobjectThe object describing a Datadog log-based metric.
typestringThe type of the resource. The value should always be logs_metrics.

Methods

NameAccessible byRequired ParamsDescription
get_logs_metricSELECTmetric_id, dd_siteGet a specific log-based metric from your organization.
list_logs_metricsSELECTdd_siteGet the list of configured log-based metrics with their definitions.
create_logs_metricINSERTdata__data, dd_siteCreate a metric based on your ingested logs in your organization.
Returns the log-based metric object from the request body when the request is successful.
delete_logs_metricDELETEmetric_id, dd_siteDelete a specific log-based metric from your organization.
_get_logs_metricEXECmetric_id, dd_siteGet a specific log-based metric from your organization.
_list_logs_metricsEXECdd_siteGet the list of configured log-based metrics with their definitions.
update_logs_metricEXECmetric_id, data__data, dd_siteUpdate a specific log-based metric from your organization.
Returns the log-based metric object from the request body when the request is successful.