<div dir="ltr"><div>Hello Sunny,</div><div>thank you for the hint. Ich will try this out!</div><div><br></div><div>Regards</div><div>David<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 16. März 2020 um 11:49 Uhr schrieb Sunny Kumar &lt;<a href="mailto:sunkumar@redhat.com">sunkumar@redhat.com</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi David,<br>
<br>
Link is here:<br>
<br>
Changelog parser: <a href="https://github.com/aravindavk/gluster_georep_scripts" rel="noreferrer" target="_blank">https://github.com/aravindavk/gluster_georep_scripts</a><br>
<br>
/sunny<br>
<br>
On Mon, Mar 16, 2020 at 10:47 AM Sunny Kumar &lt;<a href="mailto:sunkumar@redhat.com" target="_blank">sunkumar@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi David,<br>
&gt;<br>
&gt; You can try this Gluster Changelog Parser[1] which converts changelog<br>
&gt; into human readable format.<br>
&gt;<br>
&gt; [1].<a href="https://github.com/kotreshhr/gluster-geo-rep" rel="noreferrer" target="_blank">https://github.com/kotreshhr/gluster-geo-rep</a><br>
&gt;<br>
&gt; /sunny<br>
&gt;<br>
&gt; On Mon, Mar 16, 2020 at 10:41 AM David Spisla &lt;<a href="mailto:spisla80@gmail.com" target="_blank">spisla80@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Dear Gluster Community,<br>
&gt; &gt; 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 &gt;&gt; file1.txt &amp;&amp; chmod 444 file1.txt :<br>
&gt; &gt;<br>
&gt; &gt; GlusterFS Changelog | version: v1.2 | encoding : 2<br>
&gt; &gt; Ef845378a-f8d4-4dd2-a0fc-946e3d247f84234366553465534ac80f4db-3a41-42f6-b831-49cd9882a564/file1.txtDf845378a-f8d4-4dd2-a0fc-946e3d247f84Mf845378a-f8d4-4dd2-a0fc-946e3d247f8438<br>
&gt; &gt;<br>
&gt; &gt; How one can make it human readable e.g. with full path information?<br>
&gt; &gt;<br>
&gt; &gt; Regards<br>
&gt; &gt; David Spisla<br>
&gt; &gt;<br>
&gt; &gt; ps Below my volume info!<br>
&gt; &gt;<br>
&gt; &gt; Here is my volume setting:<br>
&gt; &gt; fs-davids-c2-n1:~ # gluster vo info repo2<br>
&gt; &gt;<br>
&gt; &gt; Volume Name: repo2<br>
&gt; &gt; Type: Replicate<br>
&gt; &gt; Volume ID: 8b7b64d3-6019-4dac-b2cf-b78e78172724<br>
&gt; &gt; Status: Started<br>
&gt; &gt; Snapshot Count: 0<br>
&gt; &gt; Number of Bricks: 1 x (2 + 1) = 3<br>
&gt; &gt; Transport-type: tcp<br>
&gt; &gt; Bricks:<br>
&gt; &gt; Brick1: fs-davids-c2-n1:/gluster/brick3/glusterbrick<br>
&gt; &gt; Brick2: fs-davids-c2-n2:/gluster/brick3/glusterbrick<br>
&gt; &gt; Brick3: fs-davids-c2-n3:/gluster/arbiter3/glusterbrick (arbiter)<br>
&gt; &gt; Options Reconfigured:<br>
&gt; &gt; changelog.changelog: on<br>
&gt; &gt; changelog.rollover-time: 36000<br>
&gt; &gt; features.scrub-freq: daily<br>
&gt; &gt; features.scrub: Active<br>
&gt; &gt; features.bitrot: on<br>
&gt; &gt; cluster.quorum-type: auto<br>
&gt; &gt; features.default-retention-period: 120<br>
&gt; &gt; storage.ctime: on<br>
&gt; &gt; features.utime: on<br>
&gt; &gt; storage.build-pgfid: on<br>
&gt; &gt; performance.write-behind: off<br>
&gt; &gt; performance.write-behind-window-size: 4MB<br>
&gt; &gt; performance.read-ahead: off<br>
&gt; &gt; performance.cache-refresh-timeout: 10<br>
&gt; &gt; performance.cache-size: 512MB<br>
&gt; &gt; cluster.use-compound-fops: on<br>
&gt; &gt; performance.io-thread-count: 64<br>
&gt; &gt; performance.cache-ima-xattrs: on<br>
&gt; &gt; performance.cache-samba-metadata: on<br>
&gt; &gt; performance.md-cache-timeout: 600<br>
&gt; &gt; performance.cache-invalidation: on<br>
&gt; &gt; performance.stat-prefetch: on<br>
&gt; &gt; cluster.lookup-optimize: on<br>
&gt; &gt; server.event-threads: 32<br>
&gt; &gt; client.event-threads: 32<br>
&gt; &gt; performance.nl-cache-timeout: 600<br>
&gt; &gt; performance.nl-cache: on<br>
&gt; &gt; features.cache-invalidation-timeout: 600<br>
&gt; &gt; features.cache-invalidation: on<br>
&gt; &gt; network.ping-timeout: 10<br>
&gt; &gt; features.retention-mode: enterprise<br>
&gt; &gt; features.worm-file-level: on<br>
&gt; &gt; features.worm: off<br>
&gt; &gt; features.read-only: off<br>
&gt; &gt; user.smb: disable<br>
&gt; &gt; transport.address-family: inet<br>
&gt; &gt; nfs.disable: on<br>
&gt; &gt; performance.client-io-threads: off<br>
&gt; &gt; changelog.capture-del-path: on<br>
&gt; &gt; changelog.encoding: ascii<br>
&gt; &gt;<br>
&gt; &gt; Changelog settings:<br>
&gt; &gt; fs-davids-c2-n1:~ # gluster vo get repo2 all | grep changelog<br>
&gt; &gt; changelog.changelog                     on<br>
&gt; &gt; changelog.changelog-dir                 {{ brick.path }}/.glusterfs/changelogs<br>
&gt; &gt; changelog.encoding                      ascii<br>
&gt; &gt; changelog.rollover-time                 36000<br>
&gt; &gt; changelog.fsync-interval                5<br>
&gt; &gt; changelog.changelog-barrier-timeout     120<br>
&gt; &gt; changelog.capture-del-path              on<br>
&gt; &gt; ________<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Community Meeting Calendar:<br>
&gt; &gt;<br>
&gt; &gt; Schedule -<br>
&gt; &gt; Every Tuesday at 14:30 IST / 09:00 UTC<br>
&gt; &gt; Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
&gt; &gt;<br>
&gt; &gt; Gluster-users mailing list<br>
&gt; &gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; &gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
</blockquote></div>