<?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 Re: Datos show_audit.ftl in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195555#M148685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Al final use el webscript para realizar lo que queria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aviso: al descargar marca el registro como "READ"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Por si a alguien le sirve:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Primero habilitamos el audit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Para confirmar que audita lo que queremos podemos usar el webscript, por ejemplo usar esta sentencia: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;-Una vez tenemos los datos que queremos podemos habilitar el audit para todo usuario, no es obligatorio, para ello deberemos modificar los xml que se encuentran en: \Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\audit\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Veremos que hay una linea que dice: "authentication" "admin" "/authentication", cambiar por "authentication runas="admin"" none "/authentication"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Una vez hemos editado la autorización, ya no nos pedirá usuario cada vez que queramos ver el contenido.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A partir de aquí cada uno debe decidir si quiere o no mejorar la presentación, si se desea modificar directamente sobre el webscript, se debe modificar el archivo query.get.json.ftl. Si se desea hacer un php, podemos importar el contenido del webscript llamandolo: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?php&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$variable = readfile("&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo $variable;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;?&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Espero que les sirva.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Un agradecimiento a fcorti por su ayuda y su gran modulo A.A.A.R, lo recomiendo. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 07:10:00 GMT</pubDate>
    <dc:creator>roger_obis</dc:creator>
    <dc:date>2013-10-25T07:10:00Z</dc:date>
    <item>
      <title>Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195548#M148678</link>
      <description>Buenos dias,Encontré la manera de auditar las descargas como READ, y tengo toda la información que necesito, pero no puedo hacer estadísticas.&amp;nbsp; Me gustaría saber donde almacena los datos que muestra esta presentación.Buscando por la base de datos encontré algunos registros en alf_node, pero no salen</description>
      <pubDate>Wed, 23 Oct 2013 14:26:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195548#M148678</guid>
      <dc:creator>roger_obis</dc:creator>
      <dc:date>2013-10-23T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195549#M148679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lo siento, pero yo no hablo español. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Si yo entiendo que busca todo tipo de auditoría READ en el repositorio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Si es así, te puedo ayudar fácilmente a formular preguntas sobre AAAR y ayudarle a realizar su informe personalizado con Pentaho (luego publicarlo en Alfresco).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;De lo contrario, justificar la intrusión.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:53:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195549#M148679</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2013-10-23T18:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195550#M148680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gracias por la ayuda, lo que me interesaría saber es donde guarda la información que aparece en el show_audit.ftl, para poder hacer un .php que presente los datos, y poder así hacer una auditoria concreta.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help, I only want to know, where are the information that appears in show_audit.ftl, because I want to make a .php file that show only the entries I want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I like AAAR, U are doing a great great job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:06:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195550#M148680</guid>
      <dc:creator>roger_obis</dc:creator>
      <dc:date>2013-10-24T06:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195551#M148681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank Roger for talking in english and for your feedback on the AAAR solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AAAR and show_audit get data from an Alfresco's webscript, very easy to parse and enquiry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can find lot of useful informations here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Content_Auditing" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Content_Auditing&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Content_Auditing" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Content_Auditing&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Auditing_(from_V3.4)" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Auditing_(from_V3.4)&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Auditing_(from_V3.4)" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Auditing_(from_V3.4)&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the AAAR solution I use the JSON as result of the REST call to the webscript… exactly in the way you are probably looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if you call from your PHP page the webscript, you will get a JSON result containing the audit data that you can manipulate, store, enquiry and so on… &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this will help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:19:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195551#M148681</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2013-10-24T06:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195552#M148682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gracias por tu ayuda, intentare de esta forma haber si puedo hacer lo que pretendo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help, im going to try it, if u want i can send u my .php when i finish it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck and really really thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:24:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195552#M148682</guid>
      <dc:creator>roger_obis</dc:creator>
      <dc:date>2013-10-24T06:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195553#M148683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good… if you think my check will help you, send me the PHP to fcorti at gmail dot com and I'll tell you an opinion comparing on what I usually do for AAAR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:35:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195553#M148683</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2013-10-24T06:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195554#M148684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;He estado intentando conseguir los datos por el webscript, pero no lo encuentro muy eficiente programarlo así, lo perfecto sería saber donde guarda exactamente los datos, entiendo que solo puede haber 2 lugares, en la base de datos o en sistema de ficheros. Si fuese por base de datos haría una simple consulta para saber los registros, o si esta en disco duro, leer el fichero sea xml,csv,txt,dat…. y filtrar segun requisitos.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alguien sabe donde puedo encontrar estos registros?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to do it with the webscript, but i have a lot of problems. The best solution is to know where are the entries, in the database or in a file(xml,txt,dat,csv…) and make a connection/read with php. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know where are the entries? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 10:28:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195554#M148684</guid>
      <dc:creator>roger_obis</dc:creator>
      <dc:date>2013-10-24T10:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Datos show_audit.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195555#M148685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Al final use el webscript para realizar lo que queria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aviso: al descargar marca el registro como "READ"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Por si a alguien le sirve:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Primero habilitamos el audit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Para confirmar que audita lo que queremos podemos usar el webscript, por ejemplo usar esta sentencia: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;-Una vez tenemos los datos que queremos podemos habilitar el audit para todo usuario, no es obligatorio, para ello deberemos modificar los xml que se encuentran en: \Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\audit\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Veremos que hay una linea que dice: "authentication" "admin" "/authentication", cambiar por "authentication runas="admin"" none "/authentication"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Una vez hemos editado la autorización, ya no nos pedirá usuario cada vez que queramos ver el contenido.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A partir de aquí cada uno debe decidir si quiere o no mejorar la presentación, si se desea modificar directamente sobre el webscript, se debe modificar el archivo query.get.json.ftl. Si se desea hacer un php, podemos importar el contenido del webscript llamandolo: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?php&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$variable = readfile("&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/audit/query/alfresco-access?&amp;amp;verbose=true&amp;amp;limit=1000&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo $variable;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;?&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Espero que les sirva.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Un agradecimiento a fcorti por su ayuda y su gran modulo A.A.A.R, lo recomiendo. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 07:10:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/datos-show-audit-ftl/m-p/195555#M148685</guid>
      <dc:creator>roger_obis</dc:creator>
      <dc:date>2013-10-25T07:10:00Z</dc:date>
    </item>
  </channel>
</rss>

