Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul de Quant 403 posts 1520 karma points
    Mar 13, 2015 @ 13:11
    Paul de Quant
    0

    Reporting functionality for auditing

    Hello,

    Can anyone tell me if there are any audit reporting features in Umbraco or available as an add-on. The audit trail feature is ok, but I need to able to view the audit trail for the whole site rather than just a single page e.g. Show all pages that were created or modified in the last 24 hours.

    Any help would be greatly appreciated.

    Many thanks

    Paul

  • Jonathan Roberts 409 posts 1063 karma points
    Mar 13, 2015 @ 17:42
    Jonathan Roberts
    0

    I suppose you could write your own CMS page that uses the following SQL:

    SELECT * from (SELECT TOP 1000 l.id
      ,l.userId
      ,l.NodeId
      ,l.Datestamp
      ,l.logHeader
      ,l.logComment,
      u.username,
     (SELECT TOP 1 c.text from cmsDocument c where c.nodeId = l.NodeId) as PageName
    FROM umbracoLog l INNER JOIN [umbracoUser] u ON u.id = l.userId
    ORDER BY Datestamp, userId) as HistoryLog
    WHERE PageName IS NOT NULL
    

    Please correct me if this can be made simpler but it was done quickly for this post.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 15, 2015 @ 08:24
    Jan Skovgaard
    0

    Hi Paul

    Currently there is no such package available - I'll suggest you try creating your own dashboard in the "Content" section where you can probably make use of the SQL code Jonathan suggests above.

    You should be able to make the dashboard based on AngularJS following this guide https://www.linkedin.com/pulse/20141112132834-65892830-creating-a-custom-umbraco-dashboard-section

    Hope this helps.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft