[Gluster-users] Trying out changelog xlator - human readable output?

David Spisla spisla80 at gmail.com
Mon Mar 16 10:41:06 UTC 2020

Dear Gluster Community,
I trying out the changelog xlator to evaluate if it can be used as a kind
of audit log when accessing a volume via nfs. Here is the entry in the
CHANGELOG file when performing $ echo test >> file1.txt && chmod 444
file1.txt :

GlusterFS Changelog | version: v1.2 | encoding : 2

How one can make it human readable e.g. with full path information?

David Spisla

ps Below my volume info!

Here is my volume setting:
fs-davids-c2-n1:~ # gluster vo info repo2

Volume Name: repo2
Type: Replicate
Volume ID: 8b7b64d3-6019-4dac-b2cf-b78e78172724
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Brick1: fs-davids-c2-n1:/gluster/brick3/glusterbrick
Brick2: fs-davids-c2-n2:/gluster/brick3/glusterbrick
Brick3: fs-davids-c2-n3:/gluster/arbiter3/glusterbrick (arbiter)
Options Reconfigured:
changelog.changelog: on
changelog.rollover-time: 36000
features.scrub-freq: daily
features.scrub: Active
features.bitrot: on
cluster.quorum-type: auto
features.default-retention-period: 120
storage.ctime: on
features.utime: on
storage.build-pgfid: on
performance.write-behind: off
performance.write-behind-window-size: 4MB
performance.read-ahead: off
performance.cache-refresh-timeout: 10
performance.cache-size: 512MB
cluster.use-compound-fops: on
performance.io-thread-count: 64
performance.cache-ima-xattrs: on
performance.cache-samba-metadata: on
performance.md-cache-timeout: 600
performance.cache-invalidation: on
performance.stat-prefetch: on
cluster.lookup-optimize: on
server.event-threads: 32
client.event-threads: 32
performance.nl-cache-timeout: 600
performance.nl-cache: on
features.cache-invalidation-timeout: 600
features.cache-invalidation: on
network.ping-timeout: 10
features.retention-mode: enterprise
features.worm-file-level: on
features.worm: off
features.read-only: off
user.smb: disable
transport.address-family: inet
nfs.disable: on
performance.client-io-threads: off
changelog.capture-del-path: on
changelog.encoding: ascii

Changelog settings:
fs-davids-c2-n1:~ # gluster vo get repo2 all | grep changelog
changelog.changelog                     on

changelog.changelog-dir                 {{ brick.path
changelog.encoding                      ascii

changelog.rollover-time                 36000

changelog.fsync-interval                5

changelog.changelog-barrier-timeout     120

changelog.capture-del-path              on
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200316/d5644cfb/attachment.html>

More information about the Gluster-users mailing list