pgauditlogtofile

pgAudit 子扩展,将审计日志写入单独的文件中

概览

扩展包名版本分类许可证语言
pgauditlogtofile1.8.5SECPostgreSQLC
ID扩展名BinLibLoadCreateTrustReloc模式
7110pgauditlogtofile-
相关扩展pgaudit pg_auth_mon logerrors pg_permissions login_hook set_user pg_drop_events table_log

版本

类型仓库版本PG 大版本包名依赖
EXTPGDG1.8.51817161514pgauditlogtofile-
RPMPGDG1.8.41817161514pgauditlogtofile_$v-
DEBPGDG1.8.51817161514postgresql-$v-pgauditlogtofile-
OS / PGPG18PG17PG16PG15PG14
el8.x86_64
PGDG 1.8.4
el8.x86_64.pg14 : pgauditlogtofile_14
pgauditlogtofile_14-1.8.4-1PGDG.rhel8.10.x86_64.rpm PGDG · 1.8.4 · 34.0KiB pgauditlogtofile_14-1.8.3-1PGDG.rhel8.10.x86_64.rpm PGDG · 1.8.3 · 33.3KiB pgauditlogtofile_14-1.8.2-1PGDG.rhel8.10.x86_64.rpm PGDG · 1.8.2 · 33.2KiB pgauditlogtofile_14-1.8.1-1PGDG.rhel8.10.x86_64.rpm PGDG · 1.8.1 · 30.7KiB pgauditlogtofile_14-1.8.0-1PGDG.rhel8.10.x86_64.rpm PGDG · 1.8.0 · 30.8KiB pgauditlogtofile_14-1.7.7-2PGDG.rhel8.10.x86_64.rpm PGDG · 1.7.7 · 28.1KiB pgauditlogtofile_14-1.7.6-1PGDG.rhel8.x86_64.rpm PGDG · 1.7.6 · 27.5KiB pgauditlogtofile_14-1.7.5-1PGDG.rhel8.x86_64.rpm PGDG · 1.7.5 · 27.4KiB pgauditlogtofile_14-1.7.4-1PGDG.rhel8.x86_64.rpm PGDG · 1.7.4 · 27.2KiB pgauditlogtofile_14-1.6.4-1PGDG.rhel8.x86_64.rpm PGDG · 1.6.4 · 24.3KiB pgauditlogtofile_14-1.6.3-1PGDG.rhel8.x86_64.rpm PGDG · 1.6.3 · 24.2KiB pgauditlogtofile_14-1.6.2-1PGDG.rhel8.x86_64.rpm PGDG · 1.6.2 · 24.0KiB pgauditlogtofile_14-1.6.0-1PGDG.rhel8.x86_64.rpm PGDG · 1.6.0 · 23.2KiB pgauditlogtofile_14-1.5.12-2PGDG.rhel8.x86_64.rpm PGDG · 1.5.12 · 19.7KiB pgauditlogtofile_14-1.5.12-1PGDG.rhel8.x86_64.rpm PGDG · 1.5.12 · 19.6KiB pgauditlogtofile_14-1.5.10-1.rhel8.x86_64.rpm PGDG · 1.5.10 · 19.2KiB pgauditlogtofile_14-1.5.6-1.rhel8.x86_64.rpm PGDG · 1.5.6 · 17.9KiB pgauditlogtofile_14-1.5.5-1.rhel8.x86_64.rpm PGDG · 1.5.5 · 32.9KiB pgauditlogtofile_14-1.5.1-1.rhel8.x86_64.rpm PGDG · 1.5.1 · 32.3KiB pgauditlogtofile_14-1.4-1.rhel8.x86_64.rpm PGDG · 1.4 · 31.5KiB pgauditlogtofile_14-1.3-1.rhel8.x86_64.rpm PGDG · 1.3 · 32.8KiB
el8.aarch64
el9.x86_64
PGDG 1.8.4
el9.x86_64.pg17 : pgauditlogtofile_17
pgauditlogtofile_17-1.8.4-1PGDG.rhel9.8.x86_64.rpm PGDG · 1.8.4 · 31.6KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.4 · 31.7KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.3 · 30.9KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.3 · 31.0KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.2 · 30.7KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.2 · 30.8KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.1 · 28.3KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.1 · 28.5KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.0 · 28.1KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.0 · 28.2KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel9.7.x86_64.rpm PGDG · 1.7.7 · 26.2KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel9.6.x86_64.rpm PGDG · 1.7.7 · 26.3KiB pgauditlogtofile_17-1.7.6-2PGDG.rhel9.x86_64.rpm PGDG · 1.7.6 · 25.8KiB pgauditlogtofile_17-1.7.5-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.5 · 25.5KiB pgauditlogtofile_17-1.7.3-2PGDG.rhel9.x86_64.rpm PGDG · 1.7.3 · 25.1KiB pgauditlogtofile_17-1.7.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.3 · 25.0KiB pgauditlogtofile_17-1.7.1-2PGDG.rhel9.x86_64.rpm PGDG · 1.7.1 · 24.4KiB pgauditlogtofile_17-1.7.1-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.1 · 24.6KiB pgauditlogtofile_17-1.6.4-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.4 · 22.5KiB pgauditlogtofile_17-1.6.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.3 · 22.5KiB pgauditlogtofile_17-1.6.2-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.2 · 22.5KiB
PGDG 1.8.4
el9.x86_64.pg16 : pgauditlogtofile_16
pgauditlogtofile_16-1.8.4-1PGDG.rhel9.8.x86_64.rpm PGDG · 1.8.4 · 31.3KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.4 · 31.4KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.3 · 30.6KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.3 · 30.8KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.2 · 30.6KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.2 · 30.6KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.1 · 28.2KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.1 · 28.3KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.0 · 27.9KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.0 · 28.0KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel9.7.x86_64.rpm PGDG · 1.7.7 · 26.0KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel9.6.x86_64.rpm PGDG · 1.7.7 · 26.1KiB pgauditlogtofile_16-1.7.6-2PGDG.rhel9.x86_64.rpm PGDG · 1.7.6 · 25.6KiB pgauditlogtofile_16-1.7.5-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.5 · 25.3KiB pgauditlogtofile_16-1.7.3-2PGDG.rhel9.x86_64.rpm PGDG · 1.7.3 · 24.9KiB pgauditlogtofile_16-1.7.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.3 · 24.6KiB pgauditlogtofile_16-1.7.1-2PGDG.rhel9.x86_64.rpm PGDG · 1.7.1 · 24.3KiB pgauditlogtofile_16-1.7.1-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.1 · 24.4KiB pgauditlogtofile_16-1.6.4-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.4 · 22.4KiB pgauditlogtofile_16-1.6.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.3 · 22.4KiB pgauditlogtofile_16-1.6.2-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.2 · 22.4KiB pgauditlogtofile_16-1.6.0-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.0 · 21.7KiB pgauditlogtofile_16-1.5.12-1PGDG.rhel9.x86_64.rpm PGDG · 1.5.12 · 19.1KiB
PGDG 1.8.4
el9.x86_64.pg15 : pgauditlogtofile_15
pgauditlogtofile_15-1.8.4-1PGDG.rhel9.8.x86_64.rpm PGDG · 1.8.4 · 33.2KiB pgauditlogtofile_15-1.8.4-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.4 · 33.3KiB pgauditlogtofile_15-1.8.3-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.3 · 32.4KiB pgauditlogtofile_15-1.8.3-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.3 · 32.6KiB pgauditlogtofile_15-1.8.2-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.2 · 32.4KiB pgauditlogtofile_15-1.8.2-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.2 · 32.5KiB pgauditlogtofile_15-1.8.1-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.1 · 29.7KiB pgauditlogtofile_15-1.8.1-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.1 · 29.8KiB pgauditlogtofile_15-1.8.0-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.0 · 30.0KiB pgauditlogtofile_15-1.8.0-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.0 · 30.1KiB pgauditlogtofile_15-1.7.7-2PGDG.rhel9.7.x86_64.rpm PGDG · 1.7.7 · 27.1KiB pgauditlogtofile_15-1.7.7-2PGDG.rhel9.6.x86_64.rpm PGDG · 1.7.7 · 27.2KiB pgauditlogtofile_15-1.7.6-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.6 · 26.6KiB pgauditlogtofile_15-1.7.5-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.5 · 26.6KiB pgauditlogtofile_15-1.7.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.3 · 26.3KiB pgauditlogtofile_15-1.7.1-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.1 · 25.9KiB pgauditlogtofile_15-1.6.4-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.4 · 24.0KiB pgauditlogtofile_15-1.6.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.3 · 23.8KiB pgauditlogtofile_15-1.6.2-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.2 · 24.0KiB pgauditlogtofile_15-1.6.0-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.0 · 23.3KiB pgauditlogtofile_15-1.5.12-1PGDG.rhel9.x86_64.rpm PGDG · 1.5.12 · 19.4KiB pgauditlogtofile_15-1.5.10-1.rhel9.x86_64.rpm PGDG · 1.5.10 · 19.1KiB pgauditlogtofile_15-1.5.6-2.rhel9.x86_64.rpm PGDG · 1.5.6 · 18.3KiB
PGDG 1.8.4
el9.x86_64.pg14 : pgauditlogtofile_14
pgauditlogtofile_14-1.8.4-1PGDG.rhel9.8.x86_64.rpm PGDG · 1.8.4 · 33.1KiB pgauditlogtofile_14-1.8.4-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.4 · 33.2KiB pgauditlogtofile_14-1.8.3-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.3 · 32.4KiB pgauditlogtofile_14-1.8.3-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.3 · 32.5KiB pgauditlogtofile_14-1.8.2-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.2 · 32.3KiB pgauditlogtofile_14-1.8.2-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.2 · 32.5KiB pgauditlogtofile_14-1.8.1-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.1 · 29.7KiB pgauditlogtofile_14-1.8.1-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.1 · 29.8KiB pgauditlogtofile_14-1.8.0-1PGDG.rhel9.7.x86_64.rpm PGDG · 1.8.0 · 29.9KiB pgauditlogtofile_14-1.8.0-1PGDG.rhel9.6.x86_64.rpm PGDG · 1.8.0 · 30.0KiB pgauditlogtofile_14-1.7.7-2PGDG.rhel9.7.x86_64.rpm PGDG · 1.7.7 · 27.0KiB pgauditlogtofile_14-1.7.7-2PGDG.rhel9.6.x86_64.rpm PGDG · 1.7.7 · 27.1KiB pgauditlogtofile_14-1.7.6-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.6 · 26.5KiB pgauditlogtofile_14-1.7.5-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.5 · 26.5KiB pgauditlogtofile_14-1.7.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.3 · 26.2KiB pgauditlogtofile_14-1.7.1-1PGDG.rhel9.x86_64.rpm PGDG · 1.7.1 · 25.8KiB pgauditlogtofile_14-1.6.4-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.4 · 23.8KiB pgauditlogtofile_14-1.6.3-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.3 · 23.9KiB pgauditlogtofile_14-1.6.2-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.2 · 24.0KiB pgauditlogtofile_14-1.6.0-1PGDG.rhel9.x86_64.rpm PGDG · 1.6.0 · 23.2KiB pgauditlogtofile_14-1.5.12-1PGDG.rhel9.x86_64.rpm PGDG · 1.5.12 · 19.3KiB pgauditlogtofile_14-1.5.10-1.rhel9.x86_64.rpm PGDG · 1.5.10 · 19.0KiB pgauditlogtofile_14-1.5.6-1.rhel9.x86_64.rpm PGDG · 1.5.6 · 18.2KiB pgauditlogtofile_14-1.5.5-1.rhel9.x86_64.rpm PGDG · 1.5.5 · 33.8KiB pgauditlogtofile_14-1.5.1-1.rhel9.x86_64.rpm PGDG · 1.5.1 · 33.3KiB
el9.aarch64
PGDG 1.8.4
el9.aarch64.pg17 : pgauditlogtofile_17
pgauditlogtofile_17-1.8.4-1PGDG.rhel9.8.aarch64.rpm PGDG · 1.8.4 · 31.2KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.4 · 31.2KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.4 · 31.3KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.3 · 30.7KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.3 · 30.8KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.2 · 30.8KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.2 · 30.9KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.1 · 28.2KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.1 · 28.3KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.0 · 28.1KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.0 · 28.2KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel9.7.aarch64.rpm PGDG · 1.7.7 · 26.0KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel9.6.aarch64.rpm PGDG · 1.7.7 · 26.1KiB pgauditlogtofile_17-1.7.6-2PGDG.rhel9.aarch64.rpm PGDG · 1.7.6 · 25.4KiB pgauditlogtofile_17-1.7.5-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.5 · 25.1KiB pgauditlogtofile_17-1.7.3-2PGDG.rhel9.aarch64.rpm PGDG · 1.7.3 · 24.8KiB pgauditlogtofile_17-1.7.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.3 · 24.7KiB pgauditlogtofile_17-1.7.1-2PGDG.rhel9.aarch64.rpm PGDG · 1.7.1 · 24.3KiB pgauditlogtofile_17-1.7.1-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.1 · 24.2KiB pgauditlogtofile_17-1.6.4-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.4 · 22.3KiB pgauditlogtofile_17-1.6.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.3 · 22.3KiB pgauditlogtofile_17-1.6.2-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.2 · 22.3KiB
PGDG 1.8.4
el9.aarch64.pg16 : pgauditlogtofile_16
pgauditlogtofile_16-1.8.4-1PGDG.rhel9.8.aarch64.rpm PGDG · 1.8.4 · 31.0KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.4 · 31.0KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.4 · 31.1KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.3 · 30.4KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.3 · 30.5KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.2 · 30.6KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.2 · 30.7KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.1 · 28.0KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.1 · 28.1KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.0 · 27.9KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.0 · 28.0KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel9.7.aarch64.rpm PGDG · 1.7.7 · 25.8KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel9.6.aarch64.rpm PGDG · 1.7.7 · 25.9KiB pgauditlogtofile_16-1.7.6-2PGDG.rhel9.aarch64.rpm PGDG · 1.7.6 · 25.2KiB pgauditlogtofile_16-1.7.5-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.5 · 25.0KiB pgauditlogtofile_16-1.7.3-2PGDG.rhel9.aarch64.rpm PGDG · 1.7.3 · 24.6KiB pgauditlogtofile_16-1.7.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.3 · 24.3KiB pgauditlogtofile_16-1.7.1-2PGDG.rhel9.aarch64.rpm PGDG · 1.7.1 · 24.1KiB pgauditlogtofile_16-1.7.1-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.1 · 24.0KiB pgauditlogtofile_16-1.6.4-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.4 · 22.1KiB pgauditlogtofile_16-1.6.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.3 · 22.2KiB pgauditlogtofile_16-1.6.2-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.2 · 22.2KiB pgauditlogtofile_16-1.6.0-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.0 · 21.5KiB pgauditlogtofile_16-1.5.12-1PGDG.rhel9.aarch64.rpm PGDG · 1.5.12 · 18.8KiB
PGDG 1.8.4
el9.aarch64.pg15 : pgauditlogtofile_15
pgauditlogtofile_15-1.8.4-1PGDG.rhel9.8.aarch64.rpm PGDG · 1.8.4 · 32.8KiB pgauditlogtofile_15-1.8.4-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.4 · 32.8KiB pgauditlogtofile_15-1.8.4-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.4 · 32.9KiB pgauditlogtofile_15-1.8.3-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.3 · 32.2KiB pgauditlogtofile_15-1.8.3-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.3 · 32.3KiB pgauditlogtofile_15-1.8.2-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.2 · 32.2KiB pgauditlogtofile_15-1.8.2-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.2 · 32.3KiB pgauditlogtofile_15-1.8.1-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.1 · 29.6KiB pgauditlogtofile_15-1.8.1-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.1 · 29.7KiB pgauditlogtofile_15-1.8.0-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.0 · 29.7KiB pgauditlogtofile_15-1.7.7-2PGDG.rhel9.7.aarch64.rpm PGDG · 1.7.7 · 26.9KiB pgauditlogtofile_15-1.7.7-2PGDG.rhel9.6.aarch64.rpm PGDG · 1.7.7 · 27.0KiB pgauditlogtofile_15-1.7.6-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.6 · 26.5KiB pgauditlogtofile_15-1.7.5-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.5 · 26.2KiB pgauditlogtofile_15-1.7.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.3 · 25.9KiB pgauditlogtofile_15-1.7.1-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.1 · 25.5KiB pgauditlogtofile_15-1.6.4-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.4 · 23.8KiB pgauditlogtofile_15-1.6.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.3 · 23.8KiB pgauditlogtofile_15-1.6.2-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.2 · 23.8KiB pgauditlogtofile_15-1.6.0-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.0 · 23.1KiB pgauditlogtofile_15-1.5.12-1PGDG.rhel9.aarch64.rpm PGDG · 1.5.12 · 19.0KiB pgauditlogtofile_15-1.5.10-1.rhel9.aarch64.rpm PGDG · 1.5.10 · 18.8KiB pgauditlogtofile_15-1.5.6-2.rhel9.aarch64.rpm PGDG · 1.5.6 · 18.0KiB
PGDG 1.8.4
el9.aarch64.pg14 : pgauditlogtofile_14
pgauditlogtofile_14-1.8.4-1PGDG.rhel9.8.aarch64.rpm PGDG · 1.8.4 · 32.8KiB pgauditlogtofile_14-1.8.4-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.4 · 32.7KiB pgauditlogtofile_14-1.8.4-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.4 · 32.9KiB pgauditlogtofile_14-1.8.3-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.3 · 32.2KiB pgauditlogtofile_14-1.8.3-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.3 · 32.3KiB pgauditlogtofile_14-1.8.2-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.2 · 32.1KiB pgauditlogtofile_14-1.8.2-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.2 · 32.2KiB pgauditlogtofile_14-1.8.1-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.1 · 29.5KiB pgauditlogtofile_14-1.8.1-1PGDG.rhel9.6.aarch64.rpm PGDG · 1.8.1 · 29.6KiB pgauditlogtofile_14-1.8.0-1PGDG.rhel9.7.aarch64.rpm PGDG · 1.8.0 · 29.7KiB pgauditlogtofile_14-1.7.7-2PGDG.rhel9.7.aarch64.rpm PGDG · 1.7.7 · 26.8KiB pgauditlogtofile_14-1.7.7-2PGDG.rhel9.6.aarch64.rpm PGDG · 1.7.7 · 26.9KiB pgauditlogtofile_14-1.7.6-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.6 · 26.4KiB pgauditlogtofile_14-1.7.5-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.5 · 26.3KiB pgauditlogtofile_14-1.7.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.3 · 26.0KiB pgauditlogtofile_14-1.7.1-1PGDG.rhel9.aarch64.rpm PGDG · 1.7.1 · 25.5KiB pgauditlogtofile_14-1.6.4-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.4 · 23.6KiB pgauditlogtofile_14-1.6.3-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.3 · 23.7KiB pgauditlogtofile_14-1.6.2-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.2 · 23.7KiB pgauditlogtofile_14-1.6.0-1PGDG.rhel9.aarch64.rpm PGDG · 1.6.0 · 23.0KiB pgauditlogtofile_14-1.5.12-1PGDG.rhel9.aarch64.rpm PGDG · 1.5.12 · 19.0KiB pgauditlogtofile_14-1.5.10-1.rhel9.aarch64.rpm PGDG · 1.5.10 · 18.6KiB pgauditlogtofile_14-1.5.6-1.rhel9.aarch64.rpm PGDG · 1.5.6 · 17.9KiB
el10.x86_64
PGDG 1.8.4
el10.x86_64.pg17 : pgauditlogtofile_17
pgauditlogtofile_17-1.8.4-1PGDG.rhel10.2.x86_64.rpm PGDG · 1.8.4 · 31.7KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.4 · 31.7KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.4 · 32.1KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.3 · 31.1KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.3 · 31.5KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.2 · 31.1KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.2 · 31.5KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.1 · 28.5KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.1 · 28.9KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.0 · 28.3KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.0 · 28.7KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel10.1.x86_64.rpm PGDG · 1.7.7 · 26.4KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel10.0.x86_64.rpm PGDG · 1.7.7 · 26.8KiB pgauditlogtofile_17-1.7.6-2PGDG.rhel10.x86_64.rpm PGDG · 1.7.6 · 26.1KiB pgauditlogtofile_17-1.7.5-1PGDG.rhel10.x86_64.rpm PGDG · 1.7.5 · 25.8KiB pgauditlogtofile_17-1.7.3-2PGDG.rhel10.x86_64.rpm PGDG · 1.7.3 · 25.5KiB pgauditlogtofile_17-1.7.3-1PGDG.rhel10.x86_64.rpm PGDG · 1.7.3 · 25.4KiB pgauditlogtofile_17-1.7.1-2PGDG.rhel10.x86_64.rpm PGDG · 1.7.1 · 25.1KiB pgauditlogtofile_17-1.7.1-1PGDG.rhel10.x86_64.rpm PGDG · 1.7.1 · 25.0KiB pgauditlogtofile_17-1.6.4-4PGDG.rhel10.x86_64.rpm PGDG · 1.6.4 · 22.8KiB
PGDG 1.8.4
el10.x86_64.pg16 : pgauditlogtofile_16
pgauditlogtofile_16-1.8.4-1PGDG.rhel10.2.x86_64.rpm PGDG · 1.8.4 · 31.4KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.4 · 31.4KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.4 · 31.8KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.3 · 30.8KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.3 · 31.2KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.2 · 30.9KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.2 · 31.3KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.1 · 28.3KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.1 · 28.7KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel10.1.x86_64.rpm PGDG · 1.8.0 · 28.1KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel10.0.x86_64.rpm PGDG · 1.8.0 · 28.5KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel10.1.x86_64.rpm PGDG · 1.7.7 · 26.2KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel10.0.x86_64.rpm PGDG · 1.7.7 · 26.5KiB pgauditlogtofile_16-1.7.6-2PGDG.rhel10.x86_64.rpm PGDG · 1.7.6 · 25.9KiB pgauditlogtofile_16-1.7.5-1PGDG.rhel10.x86_64.rpm PGDG · 1.7.5 · 25.6KiB pgauditlogtofile_16-1.7.3-2PGDG.rhel10.x86_64.rpm PGDG · 1.7.3 · 25.3KiB pgauditlogtofile_16-1.7.3-1PGDG.rhel10.x86_64.rpm PGDG · 1.7.3 · 25.0KiB pgauditlogtofile_16-1.7.1-2PGDG.rhel10.x86_64.rpm PGDG · 1.7.1 · 24.9KiB pgauditlogtofile_16-1.7.1-1PGDG.rhel10.x86_64.rpm PGDG · 1.7.1 · 24.8KiB pgauditlogtofile_16-1.6.4-3PGDG.rhel10.x86_64.rpm PGDG · 1.6.4 · 22.6KiB
el10.aarch64
PGDG 1.8.4
el10.aarch64.pg17 : pgauditlogtofile_17
pgauditlogtofile_17-1.8.4-1PGDG.rhel10.2.aarch64.rpm PGDG · 1.8.4 · 31.5KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.4 · 31.5KiB pgauditlogtofile_17-1.8.4-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.4 · 31.5KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.3 · 30.9KiB pgauditlogtofile_17-1.8.3-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.3 · 30.9KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.2 · 31.1KiB pgauditlogtofile_17-1.8.2-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.2 · 31.2KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.1 · 28.5KiB pgauditlogtofile_17-1.8.1-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.1 · 28.5KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.0 · 28.3KiB pgauditlogtofile_17-1.8.0-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.0 · 28.3KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel10.1.aarch64.rpm PGDG · 1.7.7 · 26.3KiB pgauditlogtofile_17-1.7.7-2PGDG.rhel10.0.aarch64.rpm PGDG · 1.7.7 · 26.3KiB pgauditlogtofile_17-1.7.6-2PGDG.rhel10.aarch64.rpm PGDG · 1.7.6 · 26.1KiB pgauditlogtofile_17-1.7.5-1PGDG.rhel10.aarch64.rpm PGDG · 1.7.5 · 25.8KiB pgauditlogtofile_17-1.7.3-2PGDG.rhel10.aarch64.rpm PGDG · 1.7.3 · 25.4KiB pgauditlogtofile_17-1.7.3-1PGDG.rhel10.aarch64.rpm PGDG · 1.7.3 · 25.3KiB pgauditlogtofile_17-1.7.1-2PGDG.rhel10.aarch64.rpm PGDG · 1.7.1 · 24.9KiB pgauditlogtofile_17-1.7.1-1PGDG.rhel10.aarch64.rpm PGDG · 1.7.1 · 24.8KiB pgauditlogtofile_17-1.6.4-4PGDG.rhel10.aarch64.rpm PGDG · 1.6.4 · 22.7KiB
PGDG 1.8.4
el10.aarch64.pg16 : pgauditlogtofile_16
pgauditlogtofile_16-1.8.4-1PGDG.rhel10.2.aarch64.rpm PGDG · 1.8.4 · 31.3KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.4 · 31.3KiB pgauditlogtofile_16-1.8.4-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.4 · 31.3KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.3 · 30.7KiB pgauditlogtofile_16-1.8.3-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.3 · 30.7KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.2 · 31.0KiB pgauditlogtofile_16-1.8.2-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.2 · 30.9KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.1 · 28.6KiB pgauditlogtofile_16-1.8.1-1PGDG.rhel10.0.aarch64.rpm PGDG · 1.8.1 · 28.3KiB pgauditlogtofile_16-1.8.0-1PGDG.rhel10.1.aarch64.rpm PGDG · 1.8.0 · 28.1KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel10.1.aarch64.rpm PGDG · 1.7.7 · 26.1KiB pgauditlogtofile_16-1.7.7-2PGDG.rhel10.0.aarch64.rpm PGDG · 1.7.7 · 26.1KiB pgauditlogtofile_16-1.7.6-2PGDG.rhel10.aarch64.rpm PGDG · 1.7.6 · 25.9KiB pgauditlogtofile_16-1.7.5-1PGDG.rhel10.aarch64.rpm PGDG · 1.7.5 · 25.6KiB pgauditlogtofile_16-1.7.3-2PGDG.rhel10.aarch64.rpm PGDG · 1.7.3 · 25.2KiB pgauditlogtofile_16-1.7.3-1PGDG.rhel10.aarch64.rpm PGDG · 1.7.3 · 24.9KiB pgauditlogtofile_16-1.7.1-2PGDG.rhel10.aarch64.rpm PGDG · 1.7.1 · 24.7KiB pgauditlogtofile_16-1.7.1-1PGDG.rhel10.aarch64.rpm PGDG · 1.7.1 · 24.6KiB pgauditlogtofile_16-1.6.4-3PGDG.rhel10.aarch64.rpm PGDG · 1.6.4 · 22.5KiB
d12.x86_64
d12.aarch64
d13.x86_64
d13.aarch64
u22.x86_64
u22.aarch64
u24.x86_64
u24.aarch64
u26.x86_64
u26.aarch64

安装

您可以直接安装 pgauditlogtofile 扩展包的预置二进制包,首先确保 PGDG 仓库已经添加并启用:

pig repo add pgdg -u          # 添加 PGDG 仓库并更新缓存

使用 pig 或者是 apt/yum/dnf 安装扩展:

pig install pgauditlogtofile;          # 当前活跃 PG 版本安装
pig ext install -y pgauditlogtofile -v 18  # PG 18
pig ext install -y pgauditlogtofile -v 17  # PG 17
pig ext install -y pgauditlogtofile -v 16  # PG 16
pig ext install -y pgauditlogtofile -v 15  # PG 15
pig ext install -y pgauditlogtofile -v 14  # PG 14
dnf install -y pgauditlogtofile_18       # PG 18
dnf install -y pgauditlogtofile_17       # PG 17
dnf install -y pgauditlogtofile_16       # PG 16
dnf install -y pgauditlogtofile_15       # PG 15
dnf install -y pgauditlogtofile_14       # PG 14
apt install -y postgresql-18-pgauditlogtofile   # PG 18
apt install -y postgresql-17-pgauditlogtofile   # PG 17
apt install -y postgresql-16-pgauditlogtofile   # PG 16
apt install -y postgresql-15-pgauditlogtofile   # PG 15
apt install -y postgresql-14-pgauditlogtofile   # PG 14

预加载配置

shared_preload_libraries = 'pgauditlogtofile';

创建扩展

CREATE EXTENSION pgauditlogtofile;

用法

来源:

pgauditlogtofile 是 pgAudit 的一个扩展,用于将 pgAudit 记录路由到专用的 CSV 或 JSON 文件。使用它可以在保留审计记录和访问控制的同时,与普通 PostgreSQL 服务器日志分开。

预加载并创建扩展

首先加载 pgAudit,然后是 pgauditlogtofile:

shared_preload_libraries = 'pgaudit,pgauditlogtofile'

重启 PostgreSQL,然后在 postgres 数据库中安装这两个扩展:

CREATE EXTENSION pgaudit;
CREATE EXTENSION pgauditlogtofile;

上游建议仅在 postgres 数据库中创建 pgauditlogtofile,而不是独立地在每个应用程序数据库中创建。

配置审计文件

pgaudit.log_directory = 'log'
pgaudit.log_filename = 'audit-%Y%m%d_%H%M.log'
pgaudit.log_format = 'csv'
pgaudit.log_rotation_age = 1440
pgaudit.log_file_mode = 0600

如果未设置 pgaudit.log_directory 或 pgaudit.log_filename,则会禁用单独的目标,记录将回退到普通服务器日志。相对路径将在 PostgreSQL 数据目录下解析。

压缩

版本 1.8 支持压缩审计文件:

pgaudit.log_compression = 'zstd'
pgaudit.log_compression_level = 6

pgaudit.log_compression 接受 off、gzip、lz4 或 zstd,具体取决于相应的支持。级别范围是 0 到 22,但有效且有用的级别取决于所选的算法。压缩会消耗后端 CPU,请测试日志吞吐量和旋转延迟。

参数索引

  • pgaudit.log_format: csv 或 json 输出。
  • pgaudit.log_directory 和 pgaudit.log_filename: 目标及 strftime 样式的文件名。
  • pgaudit.log_file_mode: 新创建文件的权限。
  • pgaudit.log_rotation_age: 基于时间的旋转间隔(分钟)。
  • pgaudit.log_compression 和 pgaudit.log_compression_level: 压缩方法和努力程度。
  • pgaudit.log_connections 和 pgaudit.log_disconnections: 包含连接生命周期事件,前提是 PostgreSQL 的相应日志设置已启用。
  • pgaudit.log_execution_time 和 pgaudit.log_execution_memory: 添加执行测量;这些需要重启。
  • pgaudit.log_autoclose_minutes: 基于不活动的文件处理程序关闭(实验性)。

旋转和操作

PostgreSQL 配置重新加载会旋转审计文件。该扩展的后台工作进程可以向后端发送信号以关闭审计文件句柄;pg_rotate_logfile() 不会旋转独立的审计文件。

版本 1.8.5 改进了后台工作进程的信号、钩子恢复和 PostgreSQL 19 版本兼容性。它没有引入从 1.8.4 到 1.8.5 的必要配置迁移。

注意事项

  • 文件分离不是保留管理。请显式地发送、旋转、保护和过期审计文件。
  • 确保 PostgreSQL 操作系统帐户可以创建目标,并且文件权限符合审计策略。
  • 突然的后端或主机故障可能会使最后一个压缩文件不完整;验证摄取行为。
  • 启用时间、内存、连接或详细 pgAudit 类别会显著增加开销和日志量。