---
title: "Audit logging"
description: "Learn how to configure and enable audit logging for Aerospike Graph Service (AGS) to track user actions."
---

# Audit logging

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

## Overview

This page describes how to configure audit logging to record user actions on an Aerospike Graph Service instance.

## Prerequisites

To use audit logging, you must enable [role-based access control](https://aerospike.com/docs/graph/3.1.0/manage/security/rbac-graph) for the AGS instance.

## Enable audit logging

Before you start the AGS instance, set the `aerospike.graph.audit.log.enabled` [configuration option](https://aerospike.com/docs/graph/reference/config#aerospikegraphauditlogenabled) to `true`.

## Logging actions

Logged actions include:

-   Write operations
-   Delete operations
-   Call step executions

Each log line records the user and the action performed. The audit log prints to the console.