What Langfuse audit logs capture and when you need them
When a security or compliance team has to show who changed traces, prompts, keys or integrations in a self-hosted LLM observability platform, the answer usually lives in the audit log. In Langfuse, audit logs are an Enterprise Edition feature, so they are not part of the MIT-licensed open source version. Each entry records who made the change (a user or an API key), what action was taken, when it happened, the organization and project context, and the before and after state for modifications.
The audited resources are the ones most likely to change access or data flow: API keys, annotation queues, batch exports, blob storage integrations, comments and datasets. For each of these, Langfuse logs create, update and delete actions. Blob storage integrations and batch exports deserve particular attention because they determine where data leaves the platform, and an API key entry shows who created a credential that can write or read traces. Before you rely on this scope, confirm with the Langfuse documentation for your version whether every resource your teams touch is covered, since the list may change between releases. The Langfuse audit logs documentation is the place to check it.
Audit logs do not replace the other controls. They do not show prompt content or trace data, do not prevent a change, and do not cover infrastructure events such as access to the database hosts, the Kubernetes control plane or the object storage bucket. Those belong in your platform and cloud logging, and a complete evidence set combines them with Langfuse's own records. Decide early whether you need the Enterprise license for this capability, and confirm with the vendor what the license covers and how audit log exports are retained in your environment.
Which resources and actions the audit trail covers
Langfuse writes audit entries for a fixed list of resource types, and each entry records the actor, action, time and scope. Reviewers use these cards to decide which changes to watch, and to confirm that the coverage Langfuse documents matches the version your team runs.
API keys
Every creation, update or deletion of an API key is logged, so a reviewer can see when a key was issued and by whom. Use this to confirm that keys are created by named owners and removed when a service or person leaves. Check that a key is not created by an account that should not hold admin rights, and that deletions happen after a rotation rather than silently. Confirm the exact log fields for key events in your version before writing a monitoring rule.
Langfuse audit log docsBlob storage integrations
Changes to blob storage integrations are recorded as create, update or delete events. These integrations decide where exported and media data goes, so a change here can move data to a new location. Reviewers should look for new or edited destinations that no change request approved, and for updates that alter credentials or bucket names. Compare each event against your export and storage design.
Batch exports
Batch export jobs are logged when created, updated or deleted. An export is a copy of trace data leaving the main store, which makes it a common route for bulk data movement. Review who started exports, how often they run, and whether the target matches an approved archive. Pair these entries with your scheduled export and retention settings to confirm that data leaving Langfuse follows policy.
Datasets and dataset items
Dataset creation, edits and deletions are logged, along with changes to items inside them. Datasets feed evaluations and experiments, so unexpected edits can change test results without any visible code change. Reviewers should check deletions first, since removed items may not be recovered from exports. Confirm with Langfuse which dataset item changes appear in the log for your version.
Annotation queues and comments
Annotation queues and comments are audited so that reviewers can see who changed the human review workflow and who wrote or removed a comment on a trace. These records matter when a score or review decision is later questioned. Check that queue ownership and assignments are reviewed, and that comment deletions are explainable. Confirm the field-level detail recorded for each action in your version.
Coverage to verify on your version
Langfuse lists the resource types above, but the list is not a guarantee that every settings change is logged. Test each action in a non-production project on your running version: create, update and delete one resource of each type, then export the log and check the actor, timestamp and before and after state. Record gaps as residual risk for your auditors and raise them with Langfuse before relying on the trail.
Check the audit log listAudit log configuration choices and when each fits
This table compares the three configuration choices that shape how a team uses Langfuse audit logs: Enterprise license versus open source only, UI export versus a documented pull route, and project-level versus organization-wide review. Read each row for when the option fits and what effort it adds, and use the license row as the first decision because it determines whether audit logs exist at all.
| Choice | When it fits | Effort and trade-offs |
|---|---|---|
| Enterprise license key | Your organization needs audit logs in the self-hosted instance as part of its review evidence, since audit logs are listed among the Enterprise features. | A license key must be obtained and applied to the deployment. Pricing is custom and quoted by Langfuse, so ask for the Self-Hosted Enterprise terms in writing before scoping. |
| Open source only (MIT) | Your team needs core tracing, prompts and evaluations, and can meet its audit needs through change control, infrastructure logs and access reviews outside Langfuse. | No Langfuse audit log exists to read or export. Compensating records must come from your own systems, and an assessor will ask how those records cover who changed what in Langfuse. |
| Export audit logs from the UI | Periodic review by a small group of owners or admins is enough, and entries are reviewed and filed as evidence on a set cadence. | Low setup effort, but the reviewer must hold the auditLogs:read permission and export each time. Manual steps repeat, so document who exports, when and where the file is stored. |
| Pull entries through a documented route | You want audit records in your SIEM or central log store for alerting and long-term retention, independent of someone opening the UI. | Higher engineering effort to build and maintain the integration. Confirm the supported route and its access requirements with Langfuse documentation before design, since the export method is not specified in the supplied facts. |
| Project-level review | A team owns one project and needs to see actions on its own API keys, datasets, annotation queues and exports without seeing other teams' activity. | Quick to scope, but cross-project events such as organization-level changes may fall outside the reviewer's view. Confirm which entries a project-scoped reviewer can see in your version. |
| Organization-wide review | Security or compliance staff must review activity across all projects in one instance, for example to investigate a suspected misuse of an API key. | Requires a reviewer with access across projects and a clear owner for triage. Reviewing all entries takes more time, so define filters for audited resources and actions up front. |
Who can read and export audit logs
Audit log access is governed by the auditLogs:read permission, which is typically held by project owners and admins. Holding this permission lets a person open the audit log view for a project and export its entries from the UI. Because the permission sits in the role model, the people who can review the trail are the ones already trusted with project administration, so the access decision should be made deliberately rather than left to default assignments.
- Confirm the holders: list every user with the Owner or Admin role on each project and record who should keep audit access.
- Check the role mapping: confirm in your self-hosted instance which roles include
auditLogs:read, since the default mapping is the documented starting point, not a guarantee for every setup. - Limit broad grants: avoid giving Admin to people who only need to build traces or prompts, because that role also brings the ability to read the trail.
- Record exports: treat each export as a sensitive event, with a named owner and a storage location that has its own access control.
- Review on a schedule: re-check the holder list after reorganizations and departures.
Before relying on the logs as evidence, sign in as a test user with each role and confirm which audit views and exports they can and cannot reach.",
Members and viewers work with traces, prompts and evaluations but do not hold the auditLogs:read permission by default. This is a useful property: the people who build and use LLM features can see their own work without being able to browse who changed API keys, datasets or integrations across the project. It also means a viewer's ability to see data does not extend to the record of administrative changes.
- Expected result: members and viewers should not see the audit log entry point or be able to export it.
- Watch for workarounds: a user who can reach the API with broader credentials may still be able to fetch data through other routes, so check the access paths your team has actually granted.
- Separate working access from review access: if a viewer needs to report on activity, give them a documented process rather than a wider role.
- Document the decision: record why each non-privileged role is excluded, so auditors see a deliberate boundary.
- Test after changes: role edits and new project memberships can shift access, so repeat the test after each change.
Confirm the behavior with a test account in a non-production instance, then record the result alongside your role configuration.
API keys are audited resources, so creating, updating or deleting them is logged with the key context and the actor. The key itself is not a person, which means an API key holder reads and writes data through the key's scope and is not a reviewer. Keys used by applications, pipelines or AI assistants should be treated as identities with their own accountability, and their activity should be traceable in the logs that the reviewers see.
- Log key lifecycle: creation, changes and deletion of keys appear in the audit trail, so keep a ticket or change record that matches each entry.
- Scope keys narrowly: use project-scoped keys for each application or service, so a log entry points to a specific workload.
- Do not share keys: shared keys make the actor field ambiguous and weaken the link between an action and a responsible owner.
- Plan rotation: rotate keys on a schedule you define, and confirm the rotation shows up as expected in the trail.
- Keep reviewers out of key use: the person who reads the logs should not be the only person who can create or use the keys they audit.
Verify that a key-created event in your test instance names the expected actor and project before you rely on it for review.
An audit trail is weaker when the person who reviews it is also the person whose actions it records. An administrator who can change a configuration, delete a dataset and then read the log that would show the change has a conflict of interest, even if no misuse occurs. Separating the two roles means that a reviewer can confirm what happened without being in a position to shape the record, which is the reason many security programs keep review duties with a second team.
- Assign a reviewer group: name a security or compliance contact who holds audit access but does not administer the projects they review.
- Limit administrators: keep the number of Owners and Admins small enough that each change has a clear, accountable owner.
- Protect exports: store exported files where administrators cannot silently alter them, and note who holds the copy.
- Use a change process: require a ticket for role changes, key changes and integration changes so the reviewer can match each log entry to an approved request.
- Escalate anomalies: define who investigates an unexpected change and who can freeze access while they do.
As a check, ask the reviewer to walk through one recent administrative change from the log back to its approved request.
Enabling and verifying audit logs in self-hosted Langfuse
This sequence confirms the license, permissions and test change needed before audit logs can be relied on, and ends with an exported entry that a reviewer can inspect.
Confirm the Enterprise license key is installed
The platform administrator checks that the self-hosted instance has a valid Enterprise license key, because audit logs are part of the Enterprise Edition feature set and are not included in the MIT-licensed open source version. Confirm the key on the instance and in the license key documentation the vendor publishes. The check is complete when the audit log section is available in the Langfuse UI for an account that can see it. If the section is missing, stop here and confirm the key with your Langfuse account team before continuing.
Confirm the reviewing account holds auditLogs read access
Identify the account that will review and export audit logs and confirm it holds the auditLogs:read permission, which project owners and admins typically hold. Check the role assigned to that user in the relevant organization and project, and look for project-level overrides that could reduce it. Do not give the reviewer a broader role than the review requires. The check is complete when that account opens the audit log view and sees entries, while a Viewer or Member account without the permission does not.
Make a controlled test change to a tracked resource
Choose a non-production resource that Langfuse audits, such as a test API key, a dataset or an annotation queue, and make one clearly labeled change, for example renaming a dataset with a test prefix. Record the time and the account used so you can match the entry later. Audited resources include API keys, annotation queues, batch exports, blob storage integrations, comments and datasets, with create, update and delete actions logged. The step is complete when the change has saved successfully and you have written down what you changed.
Locate the test change in the audit log
Open the audit log view as the reviewing account and filter to the organization and project where the test change happened. Find the entry and confirm it shows the acting user or API key, the action, the timestamp, the organization and project context, and the before and after state for the modification. Compare these fields with the record you kept in the previous step. The check passes only if the entry matches the change you made, including the actor and the field values.
Export the entry and verify its contents
Export the audit log from the UI using the reviewing account, then open the exported file outside Langfuse. Confirm that your test entry is present with the same actor, action, time and before and after values. Store the export in the evidence location your security or compliance team uses, and record who exported it and when. Confirm the export format, retention and handling rules with your own governance team, since those are set by your organization. The step is complete when the exported file shows the test change with its full context.
Remove the test change and record the result
Revert the test resource to its previous state or archive it according to your change process, then note in the change record that the test was completed. Keep the test entry and the export with the record of how audit logs were enabled. Confirm that the revert itself also appears in the audit log, which shows the reviewing team that reverts are captured as well as the original change. The sequence is complete when the record names the license check, the permission check, the test change, the located entry and the exported file.
How an action becomes an audit entry you can export
The flow starts with a user or API key making a change in Langfuse Web, such as editing a dataset or creating an annotation queue. The audit record then captures who acted, what action was taken, when, the organization and project context, and the before and after state for modifications. Reviewers with the auditLogs:read permission export the entries from the UI, then forward them to a SIEM or an evidence folder. Check that the entries you export cover the resources your reviewers care about.
Audit entries flow from a user or API key action to an exportable record.
How audit logs support security monitoring
Langfuse audit logs record who changed what, when, and in which organization and project, with before and after state for modifications. The cards below show four changes that deserve attention, and they are inputs to monitoring rather than a monitoring system on their own. Your security team decides what alerts fire, where the events are forwarded, and who reviews them.
Unexpected API key creation
API keys in Langfuse are logged as audited resources, with create, update and delete actions recorded. A new project key created outside your provisioning process can mean an unapproved integration or a credential handed to someone who should not have it. Check who created the key, from which account, and whether it matches a change request. Also confirm which role the creating user holds, since reading and exporting audit logs depends on the auditLogs:read permission.
Audit logs docsDeleted datasets
Datasets hold the test cases behind experiments and evaluations, so their removal can silently break regression testing for prompts and models. The audit entry shows the actor, the time and the project context of the delete. Compare deletions against your change calendar and confirm whether data retention settings, rather than a person, caused the removal. Note that dataset items are not removed by the retention cleanup, so a deletion here is a deliberate action.
Changed blob storage integrations
Blob storage integrations control where exported data and some media are sent. A change to the bucket, endpoint or credentials can redirect data outside the boundary you approved. Review every create, update and delete of these integrations, and confirm the new target is an approved location. Pair this review with your own bucket policies, since the audit log records the change but does not enforce where data goes.
Bulk batch exports
Batch exports copy trace and observation data out of Langfuse, which makes them a likely route for bulk data leaving the platform. Several exports in a short window by one actor, or exports run by an account that rarely uses the UI, deserve a closer look. Set a baseline of normal export activity per team before you define what counts as bulk. The log shows that an export was created, but your team must decide the thresholds and the response.
Designing forwarding and alerts
Audit logs are visible in the Langfuse UI and can be exported from it, but the product does not define your alert rules, retention outside Langfuse, or escalation paths. Your team must decide how events reach a SIEM or log platform, how they are protected from edit, and who is paged. Confirm with your team whether an export-based feed or another method fits your environment before relying on it. Test the pipeline with a deliberate change in a non-production instance.
Using audit logs as evidence for ISO/IEC 27001 control A.8.15
Langfuse audit logs can contribute evidence for Annex A control A.8.15 (Logging) of ISO/IEC 27001:2022, but only as one input to your own logging design. The control asks that logs recording activities, exceptions, faults and other relevant events are produced, stored, protected and analyzed. Audit logs in self-hosted Langfuse cover the first of those points for changes to administrative resources, such as API keys, annotation queues, batch exports, blob storage integrations, comments and datasets, with the create, update or delete action, the actor, the time, and the organization and project context recorded. The edition of the standard matters here: ISO/IEC 27001:2022 is the third edition, and its Annex A lists 93 controls in four themes (organizational, people, physical and technological), with A.8.15 sitting in the technological theme.
To use exports as evidence, decide who reads and exports them and how they are protected. Access requires the auditLogs:read permission, which is typically held by project owners and admins, so confirm that the holders of that role are the same people your security function trusts with that data. Also decide where exports are stored, who can change them, and how long they are kept, because the control expects logs to be protected. The Enterprise license key is required for audit logs in self-hosted Langfuse, so confirm licensing before you design around them. Verify the log coverage in your own instance with a test change to a dataset or API key, then confirm the export shows the expected before and after state.
DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. ISO does not certify organizations; accredited certification bodies do, and they operate to ISO/IEC 17021-1 with ISO/IEC 27006-1 applied. Ask your certification body which evidence it expects for A.8.15, how it samples logs, and whether it accepts exports from a self-hosted tool. For a crosswalk between the control set and other frameworks, the NIST OLIR catalog is a useful starting point. Treat audit log exports as one source among your logging, monitoring and review records, not as proof of compliance on their own.
Limits to confirm before you rely on audit logs
Audit logs are only evidence if you know what they cover, how long they last and whether anyone can alter them. Each card below is a check to complete in your own running version before an auditor, security team or incident responder depends on the log.
Confirm covered resources and actions
The documented list includes API keys, annotation queues, batch exports, blob storage integrations, comments and datasets, with create, update and delete actions logged. Confirm that every resource your controls depend on, such as project role changes or prompt edits, appears in your running version. Test each one by making a change in a non-production project and reading the entry back. Anything missing becomes a documented gap, not an assumption.
Audit logs docsConfirm retention of audit entries
Data retention policies in Langfuse are documented as not removing audit log entries, but confirm this behavior on your version and deployment before you write it into a retention standard. Ask how long entries persist, whether any cleanup job touches the audit table, and whether your ClickHouse retention settings change that answer. Record the window your evidence must cover and check it against the retention you have configured.
Confirm export format and volume
Audit logs can be exported from the UI, but the format, field names and how large an export can get are details to verify. Run an export across a realistic date range in your environment and check that it includes the who, what, when, organization and project context, and before and after state fields. Agree in advance who may run exports, since reading logs requires the auditLogs:read permission.
Confirm protection of stored logs
Audit records are only useful if editing or deleting them is hard to do unnoticed. Confirm who can alter the stored audit data directly in PostgreSQL or ClickHouse, whether database administrators are covered by your access logging, and where exported copies go. Consider forwarding exports to write-once storage or a separate log platform that operators cannot change.
Confirm behavior after upgrades
Major Langfuse upgrades change the data model, and the v3 to v4 guide moves to an observations-first ClickHouse model. Confirm that audit entries written before an upgrade remain readable afterward, that the fields and resource names do not change, and that the logs survive any restore test. Re-run your export check after every major upgrade, using the version you have actually deployed.
v3 to v4 guideConfirm Enterprise license coverage
Audit logs are part of the self-hosted Enterprise Edition, so the feature depends on a valid license key on the instance that writes the logs. Confirm with Langfuse which edition and key your deployment uses, and what happens to audit capture if the key expires or is removed. Keep the license record with your audit evidence so an assessor can match the control to the entitlement.
License key docsQuestions teams ask before enabling Langfuse audit logs
Do Langfuse audit logs require an Enterprise license key?
Yes. Audit logs are part of the self-hosted Enterprise Edition, and the Langfuse license key documentation lists audit logs among the features that need an Enterprise license key. The MIT-licensed open source version covers core features and APIs, but audit logging is not one of them. The Enterprise license also unlocks other governance features on the same list, including project-level RBAC roles, data retention policies, server-side data masking and the org management API with SCIM. Confirm the current license terms with Langfuse before you budget, because the commercial terms for the Self-Hosted Enterprise plan are custom-priced and come from the vendor's pricing page, not from this page.
Can our team turn on audit logs without outside help?
Yes, if your team already runs self-hosted Langfuse and holds an Enterprise license key. Enabling the feature and reviewing the logs does not require a separate installation. The harder part is deciding who reads the logs, how they are retained, where exports go and how the records are reviewed on a schedule. Teams that run their own platform often handle the setup in-house and bring in a partner only for the surrounding controls, such as log routing into a security monitoring tool or evidence packs for an assessment. Confirm your internal skills against the platform's own documentation before you decide.
How long does setting up audit log monitoring take?
The duration depends on the scope you agree in writing, not on a fixed period. The main drivers are how many organizations and projects exist, how many people need read access, whether logs must feed an external monitoring or SIEM tool, and how much evidence your assessors will ask for. Enabling the feature is a small configuration step once the license key is in place. Most of the effort goes into defining review cadences, alert conditions, export formats and access reviews. Ask any provider for a written scope that lists each of these items, and confirm with Langfuse which audit events your version records.
What do security and platform staff need to provide?
Security staff need to define what events matter, who reviews them and how often, and what retention period your policies require. Platform staff need to provide the running Langfuse deployment, a route for exporting or forwarding logs, and credentials with the auditLogs:read permission for the people who review them. Both teams should agree who holds project owner or admin roles, because those roles typically carry the permission to read and export audit logs. Expect to spend time on access reviews for those roles, since audit logs only help if the people reading them are themselves controlled.
Are audit logs the same as a backup or export of trace data?
No. Audit logs record who did what to a resource, such as creating, updating or deleting API keys, datasets, comments or batch exports, along with the organization and project context and the before and after state of changes. They describe administrative and configuration activity. Trace data is the LLM content your applications send, such as prompts, outputs and scores. A backup protects the data stores so you can restore the platform, and an export copies trace data out for analysis or archiving. Neither one tells you who changed a setting. Keep all three as separate controls with their own retention and access rules.
Do audit logs by themselves satisfy an ISO/IEC 27001 assessment?
No. Audit logs can support control A.8.15 Logging in Annex A of ISO/IEC 27001:2022, which asks that logs of activities, exceptions, faults and other relevant events are produced, stored, protected and analyzed. The standard covers the whole information security management system, so an auditor will also look at policies, risk treatment, roles and the records of review. Note that ISO does not certify organizations; accredited certification bodies do. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications. Confirm with your certification body which evidence it expects.
What should we check in our own environment before enabling audit logs?
Start by confirming that your Langfuse version and Enterprise license are compatible, and that you know which organizations and projects exist. Then list the people who hold owner or admin roles, because they will be able to read and export logs. Check how long your policies require records to be kept, where exports will be stored, and whether the storage location is controlled by the same access model. Finally, test a sample export on a non-production instance and confirm the fields match what your reviewers need. Use the Langfuse audit logs documentation as the starting reference for event coverage.
What a DeployOpen engagement covers for audit logging
A DeployOpen engagement for Langfuse audit logging is a fixed-scope piece of work with its scope, deliverables and timeline agreed in writing before any changes are made. The audit logging component covers four workstreams: confirming the Enterprise license key setup that audit logs depend on, designing the roles that can read and export them, documenting the export procedure, and mapping the captured events to the evidence your controls need. Audit logs are an Enterprise feature, so the first decision is whether your self-hosted instance will carry a license key, and the scope should state which Langfuse version and which deployment (Docker Compose, Kubernetes or a cloud account) it applies to.
Role design is where most of the value sits. Reading audit logs requires the auditLogs:read permission, which project owners and admins typically hold, so the engagement maps who holds that permission today, who should hold it, and who should be able to export. The written export procedure then records the steps, the format, where exports are stored and how access to those files is controlled. Evidence mapping links the logged actions on API keys, datasets, batch exports, blob storage integrations and comments to the logging and monitoring controls in your internal framework, such as the ISO/IEC 27001:2022 control A.8.15, described in your own words. Ask the partner to show how each mapped item traces back to a specific log entry.
Before handover, DeployOpen tests the monitoring workflow by generating controlled create, update and delete events and confirming that each one appears in the audit log with the actor, timestamp, organization and project context and before and after state. The test also checks that a designated reviewer receives and acts on the alert or review item. Your compliance team owns the final assessment: DeployOpen prepares the configuration, procedure, mapping and test evidence, but does not issue attestations or certifications. Before signing, ask for the written scope to name the test cases, the evidence format and the retest conditions.
How DeployOpen scopes, delivers and supports audit logging
DeployOpen treats Langfuse audit logs as part of the platform's governance design, not an afterthought. We scope which audit events your security and compliance teams need, build the Enterprise license and access setup that makes them readable, and hand over a documented, tested configuration you can run yourselves.
How we scope
- Confirm your Enterprise license need for audit logs before the build, since the feature is part of the self-hosted Enterprise Edition
- List who will hold the auditLogs:read permission and which projects and organizations they cover
- Map the audited resources, such as API keys, datasets and blob storage integrations, to the events your monitoring and audit teams must review
- Agree the written scope, deliverables and timeline in advance, with ongoing support available as a retainer
How we build
- Configure the Enterprise license key and confirm audit log access for the roles named in the scope
- Set up audit log export and a documented review routine for the events your monitoring tools and analysts will read
- Test that create, update and delete actions on API keys, datasets and integrations appear with actor, time and before and after state
- Connect the platform's log and identity settings so audit records sit under the same access controls as other sensitive data
How we hand over
- Deliver a runbook covering who reads audit logs, how exports are taken, and how often reviews happen
- Document the mapping between audited Langfuse resources and the Annex A logging control your assessors will ask about
- Provide evidence samples showing audit entries captured from test actions, for your assessors to review
- Walk your operators through the export, retention and storage choices so the process continues without us
How we support
- Review audit log configuration again when Langfuse upgrades change the platform, and retest the audit trail afterward
- Support requests for new audit questions from security reviews or internal audit, within the agreed retainer scope
- Confirm with your certification body or auditor which evidence they accept, since DeployOpen prepares evidence but does not issue certifications

