--- title: "Use the audit plug-in without alternative connection" slug: "use-the-audit-plug-in-without-alternative-connection-6" tags: ["DS 10.x", "Install and Get Started", "Database Security"] updated: 2026-09-10T15:21:34Z published: 2026-09-10T15:21:34Z canonical: "docs.trellix.com/use-the-audit-plug-in-without-alternative-connection-6" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Use the audit plug-in without alternative connection You can configure the sensor to monitor PostgreSQL without an alternative connection. In such case the following functions will be not be available: - To close a session - To query the server version - To receive a list of all open sessions - Add the following line to *postgresql.cnf* file: 1. To log to a file, add the following line: `audit.json_file = 1` 2. or, to log to a Unix domain socket, add the following line: `audit.json_unix_socket = 1`