<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [NO SUBJECT] in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77775#M24406</link>
    <description />
    <pubDate>Mon, 31 Jan 2022 13:33:24 GMT</pubDate>
    <dc:creator>Muffex</dc:creator>
    <dc:date>2022-01-31T13:33:24Z</dc:date>
    <item>
      <title>How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77768#M24399</link>
      <description>Hi All,We started&amp;nbsp;displaying audit trail on our alfresco instance with the help&amp;nbsp;this&amp;nbsp;link but later we figured out some issues with this approach e.g. when a&amp;nbsp;doc was moved all the audit trail was lost for the doc as the audit trail was calculated based on nodepath of the doc so we decide to move to</description>
      <pubDate>Sat, 05 May 2018 10:53:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77768#M24399</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2018-05-05T10:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77769#M24400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a) Do not override alfresco-audit-access.xml or in any way change the default alfresco-access audit app. Any Alfresco or third-party addon may depend on it and you would break their functionality. Instead, build your own audit app under a different name and simply use the same data sources in your mapping, and you should be fine. Of course the lookup to display the audit trail would then have to use your custom audit app...&lt;/P&gt;&lt;P&gt;b) a RecordValue element on the node should be fine&lt;/P&gt;&lt;P&gt;c) You realise the file name is all wrong - the original file is called alfresco-audit-access.xml and you called yours alfresco-access-audit.xml&lt;/P&gt;&lt;P&gt;d) There is no override feature for audit configs using the extension path - audit XML files will be read from all these places, and only the first to register a particular audit application will win.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 14:13:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77769#M24400</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-07T14:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77770#M24401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel for your input but unfortunately I am still in search&amp;nbsp;of the answer. And Yes, the name is wrong but it is just a typo from side else the name that you pointed out is the one that I have at my end. Sorry for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me be more clear and precise this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were earlier using alfresco-access application for viewing the audit data which had nodepath as the search key&amp;nbsp;in the&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;AuditQueryParameters object but as I stated this&amp;nbsp;apporach had some issue that when a node is moved or deleted the audit entries were messed up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;As you pointed out in the IRC chat that nodepath should not be used instead it should be noderef and as the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;/alfresco-access/transaction/node is not captured by default by the alfresco-access application I did created by my own audit application evAudit similar to alfresco-access with just one more RecordValue in the transaction path for&amp;nbsp;&lt;SPAN&gt;/alfresco-access/transaction/node.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;Everything worked well, the previous issue that occurred&amp;nbsp;due to the use of nodepath got resolved but then I got stuck into another issue and for this issue I am looking for an&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;answer. The issue is that when my new audit application applied on the DMS instances that were using alfresco-access as the audit application there is no audit generated for the documents already present in the DMS by the new application but it is getting generated for the new documents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Now as far as my knowledge in alfresco goes this is happening because the audit entries for those docs that were there previously&amp;nbsp;was obviously not captured by my new audit application and the only solution that I can foresee is that by overriding the OOTB alfresco-access application audit xml file but even in this case I believe it will not work as&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/alfresco-access/transaction/node RecordValue was not captured for the docs already in the DMS.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN&gt;I hope I have made myself clear this time as to where my issue lies and what I am trying to achieve. Please let me what I can do for the above.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 06:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77770#M24401</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2018-05-08T06:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77771#M24402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course all the old audit data will not be affected by your new application / changed audit config. There is no way to (reliably) get the new data for old events since nodes may have moved / been deleted etc. Technically, one could try to process the old data, use the path (where possible) to resolve the node (if still existing at that location) and "replay" / "copy" the audit data into the new application. But again, due to node path being shifty, it is very unreliable...&lt;/P&gt;&lt;P&gt;So, yeah - nothing can be done in that regard really.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 10:27:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77771#M24402</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-08T10:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77772#M24403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to resort to finding the audit entries from nodepath for the nodes that doesn't contain audit with noderef and for all other I will use nodeRef.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping me here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 09:22:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77772#M24403</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2018-05-10T09:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77773#M24404</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How is it then that the &lt;U&gt;path&lt;/U&gt; is used as the only "identifier" for the node in question, even though it is "shifty"?&lt;/P&gt;&lt;P&gt;Wouldn't &lt;U&gt;NodeRef&lt;/U&gt; or &lt;U&gt;DbId&lt;/U&gt; be better / important additional identifiers then? (&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-access-get-noderef-nodeid-or-nodeuuid/td-p/311175" target="_self" rel="nofollow noopener noreferrer"&gt;I'm facing exactly the same issue.&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;These would help link the logged data to the entities involved.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 09:34:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77773#M24404</guid>
      <dc:creator>Muffex</dc:creator>
      <dc:date>2022-01-31T09:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get audit trail of existing documents with new Audit Application</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77774#M24405</link>
      <description>&lt;P&gt;The DB ID would be "shifty" as well, since it is not guaranteed to stay constant for the same document. If you accidentally delete a document and then restore it from the trashcan, it will have a different DB ID.&lt;/P&gt;
&lt;P&gt;The NodeRef is the only stable identifier. Why Alfresco hasn't included it in the audit data is a question to which I don't have the answer. I have always considered the alfresco-access audit application a mere sample, and tried to not use it at all for production-grade customer solutions, in which I dogmatically use the NodeRef as an identifier.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 09:50:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77774#M24405</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2022-01-31T09:50:19Z</dc:date>
    </item>
    <item>
      <title>[NO SUBJECT]</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77775#M24406</link>
      <description />
      <pubDate>Mon, 31 Jan 2022 13:33:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-audit-trail-of-existing-documents-with-new-audit/m-p/77775#M24406</guid>
      <dc:creator>Muffex</dc:creator>
      <dc:date>2022-01-31T13:33:24Z</dc:date>
    </item>
  </channel>
</rss>

