For the complete documentation index, see llms.txt. Markdown versions are available by appending .md to documentation URLs.

Audit Logs Reference - Fields, Values, and Recording Rules

SigNoz Cloud - This page applies to SigNoz Cloud editions.
Self-Hosted Enterprise - This page applies to self-hosted SigNoz with an active license.

Overview

This page lists the fields of SigNoz audit logs and the rules that decide when an audit log is recorded. Use the fields in filter.expression and groupBy of an audit logs query.

Audit logs follow the SigNoz semantic conventions. For the full schema, see the audit semantic conventions.

Fields

Write field names as shown, without a prefix. For example, signoz.resource.kind = 'dashboard'.

Operation

FieldDescriptionValues
signoz.audit.verbThe operation.create, update, delete, attach, detach
signoz.audit.outcomeWhether the operation succeeded. An HTTP response with a 2xx or 3xx status code is a success.success, failure
signoz.audit.action_categoryThe kind of change.access_control for changes to who can do what, such as roles, users, service accounts, and keys. configuration_changes for other changes, such as dashboards and alerts.
event_nameThe operation as an event name.signoz.audit.<verb>, for example signoz.audit.delete
bodyA readable summary of the change, returned as body.message. To search it, use CONTAINS, for example body CONTAINS 'deleted dashboard'.For example, jane@example.com (019e7346-...) deleted dashboard (01a20d00-...)
severity_textINFO for a success, ERROR for a failure.INFO, ERROR

Who made the change

FieldDescriptionValues
signoz.principal.idThe ID of the user or service account.
signoz.principal.emailThe email of the user or service account. A service account's email is <service-account-name>@signozserviceaccount.com.
signoz.principal.typeThe kind of principal.user, service_account
signoz.principal.identn.providerHow the principal signed in.tokenizer for a signed-in session, api_key for an API key, impersonation for impersonation mode
signoz.organization.idThe ID of your SigNoz organization.

What changed

FieldDescriptionValues
signoz.resource.kindThe kind of resource.See Resource kinds.
signoz.resource.idThe ID of the resource. Empty when a create fails, because no resource was created.
signoz.resource.target.kindFor attach and detach, the kind of the other resource.
signoz.resource.target.idFor attach and detach, the ID of the other resource.

Where the change came from

FieldDescription
client.addressThe IP address of the client. When the request passed through a proxy, the first address in the X-Forwarded-For header.
user_agent.originalThe User-Agent header of the request, such as a browser or curl/8.7.1.
http.request.methodThe HTTP method, such as POST or DELETE.
http.routeThe API route, such as /api/v2/dashboards/{id}.
http.response.status_codeThe HTTP status code of the response.
exception.typeFor a failure, the type of error, such as forbidden or invalid-input.

Resource kinds

Common values of signoz.resource.kind:

KindResource
dashboardDashboards
ruleAlert rules
notification-channelNotification channels
planned-maintenancePlanned maintenance windows
saved-viewSaved views
roleRoles
userUsers
serviceaccountService accounts
factor-api-keyAPI keys
sessionSign-in sessions
auth-domainSSO settings
ingestion-keyIngestion keys
cloud-integrationCloud integration accounts
org-preferenceWorkspace settings

To list every kind recorded in your workspace, run a scalar query that counts audit logs grouped by signoz.resource.kind:

{
  "name": "A",
  "signal": "logs",
  "source": "audit",
  "aggregations": [{ "expression": "count()" }],
  "groupBy": [{ "name": "signoz.resource.kind" }]
}

Recording rules

  • Changes only. SigNoz records create, update, delete, attach, and detach. Reads and lists are not recorded.
  • Signed-in callers only. Requests made before sign-in, such as login attempts, are not recorded.
  • Failures are recorded. A change that SigNoz rejects, for missing permission or invalid input, is recorded with signoz.audit.outcome = 'failure'.
  • Links between peers are recorded twice. When two resources that do not own each other are linked, such as a role and a service account, SigNoz records the attach or detach once from each side. Each audit log describes one side in signoz.resource.* and the other side in signoz.resource.target.*. When one resource owns the other, such as a service account and its API key, it is recorded once.
  • Retention is 180 days. Audit logs older than 180 days are deleted. You cannot change this period in SigNoz. To keep audit logs longer, see Retention.

Is this page helpful

Last updated—November 24, 2026

Is this page helpful

On this page

Last updated—November 24, 2026