This page describes how the Log Monitoring Classic DPS capability is consumed and billed. For an overview of the capability, including its main features, see Log Monitoring Classic.
The unit of measure for Log Monitoring Classic is one log record.
For example, in the following log data (consumed via log file or generic ingestion), Dynatrace counts nine log records based on timestamp occurrence:
Oct 18 05:56:11 INFO ip-10-176-34-132 DHCPREQUEST on eth0 to 10.176.34.1
Oct 18 05:56:12 INFO ip-10-176-34-132 DHCPACK from 10.176.34.1
Oct 18 05:56:13 INFO ip-10-176-34-132 bound to 10.176.34.132 -- renewal in 1551s4:
Oct 18 05:56:13 INFO ip-10-176-34-132 [get\_meta] Getting token for IMDSv
Oct 18 05:56:16 INFO ip-10-176-34-132 [get\_meta] Trying to get http://169.23.2.3
Oct 18 05:56:18 INFO ip-10-176-34-132 [rewrite\_aliases] Rewriting aliases
Oct 18 06:22:06 INFO ip-10-176-34-132 DHCPREQUEST on eth0 to 10.176.34.1 port 67
Oct 18 06:22:07 INFO ip-10-176-34-132 DHCPACK from 10.176.34.1 (xid=0x3a182c8c)
Oct 18 06:22:10 INFO ip-10-176-34-132 bound to 10.176.34.132 -- renewal in 1364s
For example, in the following log data, Dynatrace counts three log records based on JSON object occurrence:
{"timestamp": "2021-07-29T10:54:40.962165022Z","level": "error","log.source": "/var/log/syslog","application.id": "PaymentService-Prod","content": "DHCPREQUEST on eth0 to 10.176.34.1"},{"log.source": "/var/log/syslog","content": "[get\_meta] Getting token for IMDSv"},{"content": "DHCPACK from 10.176.34.1 (xid=0x3a182c8c)"}
This section describes the different Dynatrace tools that you can use to track consumption and costs.
Dynatrace provides built-in usage metrics that help you understand and analyze your organization's consumption of Log Monitoring Classic.
To use them in Data Explorer, enter DPS into the Search field. These metrics are also available via the Environment API and linked in Account Management (Usage summary > Log Monitoring Classic > Actions > View details). The table below shows the list of metrics you can use to monitor the consumption details for Log Monitoring Classic.
Key: builtin:billing.log_monitoring_classic.usage
Dimension: count
Resolution: 1 min
Description: Number of log records ingested aggregated over all monitored entities.
Key: builtin:billing.log_monitoring_classic.usage_by_entity
Dimension: dt.entity.monitored_entity\[ME:MONITORED_ENTITY]
Resolution: 1 min
Description: Number of log records ingested split by monitored entity.
Key: builtin:billing.log_monitoring_classic.usage_by_log_path
Dimension: log_path\[STRING]
Resolution: 1 min
Description: Number of log records ingested split by log path.
You can monitor the total number of billable log records for different intervals (15 min, hour, day, or week) for any selected timeframe using the metric "(DPS) Total Log Monitoring Classic billing usage." The example below shows consumption aggregated in 1-hour intervals.
You can monitor the consumption of log records by any filtered entity by using the metric "(DPS) Log Monitoring Classic billing usage by monitored entity." The example below shows the number of billable log records that came from a specified host.
You can monitor the consumption of log records by any filtered log path using the metric "(DPS) Log Monitoring Classic billing usage by log path." The example below shows the number of billable log records that came from OneAgent and API.
You can also track your usage in Account Management. Go to Account Management > Subscription > Overview > Cost and usage details > Usage summary > Platform Extensions > Environment name > View Details.