This section contains generic audit log information.
Query audit logs in Grail.
fetch logs | filter isNotNull(audit.action)
This section contains meta information on the audit log.
audit.action
Access to Azure Resource Manager
; New User Created
; User added to Group
audit.identity
name.surname@example.com
audit.result
Succeeded
; Failed
audit.status
Started
; In Progress
; Succeeded
; Failed
; Active
; Resolved
audit.time
16/01/2025, 10:34 AM
authentication.is_multifactor
content
No keepalive from datasource statsd. Restarting
event.type
permission
LOG
log.source
/var/log/messages
; Windows Event Log
; Docker Container Output
; stdout
loglevel
ERROR
; INFO
; TRACE
status
INFO
; NONE
timestamp
1649822520123123123
Can contain, for example, a file path, standard output, or an URI etc., depending on the log stream type. The value should be stable for one logical source (for example, not affected by log file rotation digits).
This section contains information on the audit log result.
result.code
0
; 50126
; 400
result.detail
The user did not enter the right credentials
result.message
User created successfully
; Error validating credentials due to invalid username or password.
This section contains information on the client performing the audited action.
client.app.name
MS Outlook
client.ip
sensitive-spans
194.232.104.141
; 2a01:468:1000:9::140
Information regarding the actor who peformed the audited action.
actor.geo.city.name
Rome
actor.geo.country.name
Canada
actor.geo.location.lat
45.505918
actor.geo.location.lon
-73.614830
actor.ips
[168.10.15.23, 2a01:468:1000:9::140]
Information regarding the device used by the identity peforming the audited action.
browser.name
Mozilla
browser.version
5.0
device.id
11c1add1-612a-483d-8b24-cccbb35d3306
device.name
DEVICE-HOFW9324FJN
device.os.name
MacOs
; Windows
The cloud provider information (if any) associated with the audit logs.
cloud.provider
alibaba_cloud
The Azure tenant (if any) associated to the audit logs.
azure.tenant.id
37c4add3-612a-483d-8b24-cccbb35d3306
azure.tenant.name
MyAzureTenant
The AWS account (if any) associated to the audit logs.
aws.account.id
permission
123456789012
aws.account.name
example.com
The GCP organization (if any) associated to the audit logs.
gcp.organization.id
123456789012
gcp.organization.name
dynatrace.com
This section contains general log information. There can be additional records added both resource attributes describing source as well as log record attributes to add structured log record data.
Query logs in Grail.
fetch logs
The log module, in certain situations, may associate multiple process group instances with a single log.
This can occur when more than one process group instance opens a file in write mode or if there are multiple
process group instances in a single container. In such cases, the
dt.entity.process_group_instance
and dt.entity.process_group
may be reported as arrays. To prepare queries for such situations, use matchesValue
instead of ==
for equality checks.
content
No keepalive from datasource statsd. Restarting
dt.entity.process_group
matchesValue
instead of ==
for equality checks.entity-id
PROCESS_GROUP-E0D8F94D9065F24F
dt.entity.process_group_instance
matchesValue
instead of ==
for equality checks.entity-id
PROCESS_GROUP_INSTANCE-E0D8F94D9065F24F
dt.source_entity
entity-id
HOST-E0D8F94D9065F24F
; PROCESS_GROUP_INSTANCE-E0D8F94D9065F24F
event.type
permission
LOG
log.iostream
stdout
; stderr
log.source
/var/log/messages
; Windows Event Log
; Docker Container Output
; stdout
loglevel
ERROR
; INFO
; TRACE
process.technology
[['Java', 'Tomcat'], ['Go', 'Envoy']]
span_id
span_id
is a 8-byte id and hex-encoded if shown as a string.f76281848bd8288c
status
ERROR
; WARN
; INFO
; NONE
timestamp
1649822520123123123
trace_id
trace_id
is a 16-byte id and hex-encoded if shown as a string.357bf70f3c617cb34584b31bd4616af8
Value of this attribute will be based on one of dt.entity.<type>
attributes value. That means that both attributes dt.source_entity and corresponding dt.entity.<type>
will be set to the same ID.
Can contain, for example, a file path, standard output, or an URI etc., depending on the log stream type. The value should be stable for one logical source (for example, not affected by log file rotation digits).