builtin:logmonitoring.timestamp-configuration)Dynatrace OneAgent detects number of timestamp formats in your log records. In case of custom timestamps included in log record define them below. This will assure data quality for analysis. Timestamp detection also influence proper log splitting. If no timestamp is detected or log format prevents auto-timestamping, adjacent lines can be merged into single log record (also indentations are considered).
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:logmonitoring.timestamp-configuration |
| HOST - HostKUBERNETES_CLUSTER - Kubernetes clusterHOST_GROUP - Host Groupenvironment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.timestamp-configuration |
| SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.timestamp-configuration | |
| Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.timestamp-configuration |
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.
| Property | Type | Description | Required |
|---|---|---|---|
Activeenabled | boolean | - | required |
Nameconfig-item-title | text | - | required |
Date-time patterndate-time-pattern | text | - | required |
Timezonetimezone | text | - | required |
Timestamp search limitdate-search-limit | integer | Defines the number of characters in every log line (starting from the first character in the line) where the timestamp is searched. | optional |
Skip indented linesskip-indented-lines | boolean | Don't parse timestamps in lines starting with white character | optional |
matchers | Set<Matcher> | - | required |
Entry boundary patternentry-boundary | EntryBoundary | Optional field. Enter a fragment of the line text that starts the entry. No support for wildcards - the text is treated literally. | optional |
Matcher object| Property | Type | Description | Required |
|---|---|---|---|
Attributeattribute | enum |
| required |
Operatoroperator | enum |
| required |
values | set | - | required |
EntryBoundary object| Property | Type | Description | Required |
|---|---|---|---|
pattern | text | - | optional |