Audit logging in Bitbucket Server
Administering Bitbucket Server
- Users and groups
- External user directories
- Global permissions
- Setting up your mail server
- Integrating Bitbucket Server with Atlassian applications
- Connecting Bitbucket Server to an external database
- Migrating Bitbucket Server to another server
- Getting started with Bitbucket Server and AWS
- Specifying the base URL for Bitbucket Server
- Configuring the application navigator
- Managing apps
- Audit logging in Bitbucket Server
- Updating your Bitbucket Server license details
- Bitbucket Server config properties
- Moving Bitbucket Server to a different context path
- Data recovery and backups
- Disabling HTTP(S) access to Git repositories in Bitbucket Server
- Smart Mirroring
- Data Center Migration
- Git Large File Storage
- Git Virtual File System (GVFS)
- Enabling SSH access to Git repositories in Bitbucket Server
- Using diff transcoding in Bitbucket Server
- Changing the port that Bitbucket Server listens on
- Lockout recovery process
- Proxying and securing Bitbucket Server
- High availability for Bitbucket Server
- Diagnostics for third-party apps
- Enabling JMX counters for performance monitoring
- Bitbucket Server debug logging
- Scaling Bitbucket Server
- Add shortcut links to a Bitbucket Server repository
- Administer code search
- Adding additional storage for your repository data
On this page
In this section
Related content
- Bitbucket Server config properties
- Audit events in Bitbucket Server
- How to query audit log settings in Bitbucket Datacenter?
- Entries for changes made are missing from the audit logs in Bitbucket Data Center.
- Entries for changes made are missing from the audit logs in Bitbucket Data Center.
- How to find out failed login attempts
- How to retrieve all audit entries using the audit log API in Bitbucket Server and Data Center
- Bitbucket Server debug logging
- Configure Bitbucket Data Center Logging
- Collecting analytics for Bitbucket Server
Bitbucket Server comes with an internal audit system enabled by default at installation. The audit system is intended to give administrators an insight into the way Bitbucket Server is being used. The audit system could be used to identify authorized and unauthorized changes, or suspicious activity over a period of time.
Viewing recent events
Bitbucket Server administrators and system administrators can see a list of recent events for each project and repository in the 'Audit log' view. This is found in the 'Settings' for a project or repository, and shows only the most important audit events.
The audit log displays a subset of the events recorded in the log file and is kept to a configurable maximum size (the default is 500 events). See Audit events in Bitbucket Server for more details.
Accessing the audit log file
<Bitbucket Server home directory
>/log/audit
directory.
Note that you will need to backup the log files before they are removed, if your organization needs to keep copies of those.
Configuring audit logging
There are various system properties that can be used to configure audit logging in Bitbucket Server.
In this section
Related content
- Bitbucket Server config properties
- Audit events in Bitbucket Server
- How to query audit log settings in Bitbucket Datacenter?
- Entries for changes made are missing from the audit logs in Bitbucket Data Center.
- Entries for changes made are missing from the audit logs in Bitbucket Data Center.
- How to find out failed login attempts
- How to retrieve all audit entries using the audit log API in Bitbucket Server and Data Center
- Bitbucket Server debug logging
- Configure Bitbucket Data Center Logging
- Collecting analytics for Bitbucket Server