<?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 Link audit log entries to NodeIds in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125148#M34166</link>
    <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;would it be possible to link/relate audit log entries of the db (alf_audit_entry) with the corresponding node of the "alf_node" table? Is there any information available in the db which could be used?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Muffex&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 15:57:26 GMT</pubDate>
    <dc:creator>Muffex</dc:creator>
    <dc:date>2022-01-19T15:57:26Z</dc:date>
    <item>
      <title>Link audit log entries to NodeIds</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125148#M34166</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;would it be possible to link/relate audit log entries of the db (alf_audit_entry) with the corresponding node of the "alf_node" table? Is there any information available in the db which could be used?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Muffex&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 15:57:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125148#M34166</guid>
      <dc:creator>Muffex</dc:creator>
      <dc:date>2022-01-19T15:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Link audit log entries to NodeIds</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125149#M34167</link>
      <description>&lt;P&gt;The audit entry is a map with complex key representing the audit data. An example could be like this&lt;/P&gt;&lt;PRE&gt;/alfresco-api/post/NodeService/createStore/args/protocol = "workspace"
/alfresco-api/post/NodeService/createStore/args/identifier = "SpacesStore"
/alfresco-api/post/NodeService/createStore/result = StoreRef[workspace://SpacesStore]&lt;/PRE&gt;&lt;P&gt;So,Ithink No directly in db.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 00:30:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125149#M34167</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2022-01-21T00:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Link audit log entries to NodeIds</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125150#M34168</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/39620"&gt;@kaynezhang&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since I'm dependent on using the database I tried to find an approach to gather the audit log data from the db.&lt;BR /&gt;One approach I found (&lt;A href="https://www.slideshare.net/konok/alfresco-devcon-2019-how-to-track-user-activities-without-using-the-audit-functions" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.slideshare.net/konok/alfresco-devcon-2019-how-to-track-user-activities-without-using-the-audit-functions&lt;/A&gt;) was this:&lt;BR /&gt;&lt;BR /&gt;SELECT&lt;BR /&gt;entry.id as Id,&lt;BR /&gt;entry.audit_time as Time,&lt;BR /&gt;user_string.string_value as User,&lt;BR /&gt;act_string.string_value as Application,&lt;BR /&gt;sv.string_value as Value&lt;BR /&gt;FROM alf_audit_entry as entry&lt;BR /&gt;JOIN alf_prop_value user_prop ON (entry.audit_user_id = user_prop.id)&lt;BR /&gt;JOIN alf_prop_string_value user_string ON ((user_prop.persisted_type = 3 OR user_prop.persisted_type = 5) AND user_prop.long_value = user_string.id)&lt;BR /&gt;JOIN alf_audit_app app ON (entry.audit_app_id = app.id)&lt;BR /&gt;JOIN alf_prop_value act ON (app.app_name_id = act.id)&lt;BR /&gt;JOIN alf_prop_link pl ON (pl.root_prop_id = entry.audit_values_id)&lt;BR /&gt;JOIN alf_prop_value pv on (pl.value_prop_id = pv.id)&lt;BR /&gt;JOIN alf_prop_string_value act_string ON (act_string.id in (SELECT ALF_PROP_STRING_VALUE.id FROM ALF_PROP_STRING_VALUE WHERE string_value like '%/alfresco-access/%'))&lt;BR /&gt;LEFT JOIN alf_prop_string_value sv on (sv.id = pv.long_value and (pv.persisted_type = 3 OR pv.persisted_type = 5))&lt;BR /&gt;WHERE sv.string_value IS NOT NULL&lt;BR /&gt;ORDER BY entry.audit_time;&lt;BR /&gt;&lt;BR /&gt;However this does not contain the nodeIds or nodeUuids.&lt;BR /&gt;Is there any way to also get those?&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;muffex&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 16:45:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125150#M34168</guid>
      <dc:creator>Muffex</dc:creator>
      <dc:date>2022-01-23T16:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Link audit log entries to NodeIds</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125151#M34169</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/39620"&gt;@kaynezhang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;do you think it is possible to get the path (e.g.: "app:company_home/st:sites/cm:newsite/cm:discussions/post-1682415105354_6934/") of any given node by id or uuid?&lt;/P&gt;&lt;P&gt;I need to relate audit log entries to nodes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So id, uuid or noderef would be alright. Then I could resolve my issue.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Muffex&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 09:51:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-audit-log-entries-to-nodeids/m-p/125151#M34169</guid>
      <dc:creator>Muffex</dc:creator>
      <dc:date>2022-01-27T09:51:58Z</dc:date>
    </item>
  </channel>
</rss>

