- 필수 기능
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- 디지털 경험
- 소프트웨어 제공
- 보안
- 로그 관리
- 관리
- 인프라스트럭처
- ci
- containers
- csm
- ndm
- otel_guides
- overview
- slos
- synthetics
- tests
- 워크플로
Datadog’s Logging without Limits* lets you dynamically decide what to include or exclude from your indexes for storage and query, at the same time many types of logs are meant to be used for telemetry to track trends, such as KPIs, over long periods of time. Log-based metrics are a cost-efficient way to summarize log data from the entire ingest stream. This means that even if you use exclusion filters to limit what you store for exploration, you can still visualize trends and anomalies over all of your log data at 10s granularity for 15 months.
With log-based metrics, you can generate a count metric of logs that match a query or a distribution metric of a numeric value contained in the logs, such as request duration.
Billing Note: Metrics created from ingested logs are billed as Custom Metrics.
To generate a new log-based metric:
You can also create metrics from an Analytics search by selecting the “Generate new metric” option from the Export menu.
*
to generate a count of all logs matching your query or enter a log attribute (for example, @network.bytes_written
) to aggregate a numeric value and create its corresponding count
, min
, max
, sum
, and avg
aggregated metrics. If the log attribute facet is a measure, the value of the metric is the value of the log attribute.group by
: By default, metrics generated from logs do not have any tags unless explicitly added. Any attribute or tag dimension that exists in your logs (for example, @network.bytes_written
, env
) can be used to create metric tags. Metric tags names are equal to the originating attribute or tag name, without the @.Note: Data points for log-based metrics are generated at 10-second intervals. When you create a dashboard graph for log-based metrics, the count unique
parameter is based on the values within the 10-second interval.
After a metric is created, the following fields can be updated:
To change the metric type or name, a new metric must be created.
Usage metrics are estimates of your current Datadog usage in near real-time. They enable you to:
Log Management usage metrics come with three tags that can be used for more granular monitoring:
Tag | Description |
---|---|
datadog_index | Indicates the routing query that matches a log to an intended index. |
datadog_is_excluded | Indicates whether or not a log matches an exclusion query. |
service | The service attribute of the log event. |
An extra status
tag is available on the datadog.estimated_usage.logs.ingested_events
metric to reflect the log status (info
, warning
, etc.).
Additional helpful documentation, links, and articles: