Customizing Audit Log Report - Adding/Removing Columns from Display

Hi All -
Has anyone tried adding/removing the columns from Out of Box Auditi Log report with minor customizations to the code/configuration files ? Right now , when the Audit Log report is executed, there are numbe of columns that appear on report (Server, Client IP etc) which are too technical for the client and requirement is remove some of these and add some more for the attributes that we are audit logging through Audit workflow service. If you have done something similar in the past, please provide me with some inputs. Any sample code, examples will be highly appreciated.

Hello Gurus,
I also have same kind of requirement.WE have to send a monthly report to customer where number of users created and deleted to be given to them.
Its urgent.Please help
Thanks in advance

Similar Messages

  • Removing audit log report fields

    Hi all,
    Can we customized the fields shown in the audit log reports? They are very technical, and some just have no value most of the time, and I need all the columns fit in one page. If possible I want to have the original kept intact, meaning creating a new custom audit log report based on the orginal one. thanks in advance.

    Can you please confirm that you have configured events to audit?
    Configure
    audit settings for a site collection
    Here is step by step how to configure audit setting.
    http://anthony-verschraegen.blogspot.ca/2013/04/sharepoint-2013-configuring-audit.html
    Amit

  • Adding/removing columns in jtable

    Hello everyone,
    i was looking for a way to add/remove columns from a jtable. The way i envision it working is... Initially have a predefined number of columns, of these only show the user say 5 of those on startup. but then provide a drop down (or list box etc) of the other column headings, so that when the user selects one... it adds it to the jtable. also to remove ..... is there a way to have a pop-up when the user right-clicks the table header and put a option to remove that column there? if not what is the best way to trigger a remove of a column? So i need a way to keep track of all the columns in case the user wants to add it again. anyone know how this can be done or any part of it?

    I need a intutive way for the user to remove a column from the gui (like with adding could be a dropdown box with column headers as labels).Create a custom ComboBoxModel. This model would simply contain TableColumns and display the header value in the combo box. The first combo box would display the currently showing columns. When you click on an item in the combo box:
    a) remove the TableColumn from the TableColumnModel
    b) remove the TableColumn from the model
    c) add the TableColumn to the "hidden" combo box model
    The same basic logic (but in reverse) would then apply when you click on the "hidden" combo box.

  • Departname in audit log report

    Hi,
    I am getting user data of viewing the pages within the site from audit log reports.
    But our customer is expecting to see the department name of the user that he belongs to.
    I dont see this value in the report.
    So please let me know to get the department name of the user.
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi,
    Use custom code
    http://sharepoint.stackexchange.com/questions/62929/get-current-users-department-name-and-manager-from-active-directory
    http://sharepoint.stackexchange.com/questions/89703/getting-user-job-title-from-a-sharepoint-list-through-active-directory
    Use designer workflows
    http://www.sharepointanalysthq.com/2011/04/user-profile-data-in-sharepoint-designer-workflows/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Runtime error for Audit Log reports

    Hi,
    I have activated Reports feature at Site Collection level and then tried to run custom report for Dashboard library under Audit Log Reports but I got Run Time error. I tried on my local machine and on server.
    Can any body let me know how to resolve this issue to get custom report?
    Any help would be appreciated.
    BELOW IS THE ERROR MESSAHE:
    Server Error in '/' Application
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed
    by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application.
    This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
    AEDLA.

    The audit log reporting is kind of tricky to work with...until you know what you're doing.
    Some things to check: Do you have the Reporting feature enabled?  Do you have auditing enabled on sites in this site collection?  Have any events been triggered that would have written to the audit logs?  Did you specify an output library
    for the report?  Will the report have any data?
    Also, look at the SharePoint logs in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\ and let us know any "Unexpected" errors.
    Bob Guidinger
    Please remember to click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Same Application Error - while checking the auditing log report in site settings

    dear all,
    I am getting application error - when I am checking the audit log report from
    Site Settings ->Audit log->Run a custom report ->In the save location - when I click browse button.
    Any inputs to solve the issue will be helpful?
    Cheers
    Sathya

    Hi,
    Try to configure audit settings for a site collection as the link below:
    https://support.office.com/en-us/article/Configure-audit-settings-for-a-site-collection-f5a346d0-ee0f-4412-a5e6-d9b5abaa1012
    Or check the blogs below:
    http://sharepointthomas.blogspot.com/2011/07/how-to-enable-audit-functionality-in.html
    http://www.codeproject.com/Articles/431342/Auditing-A-Built-in-Feature-of-SharePoint
    Did you check the ULS log?
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Audit Log Report not display and error is "Report Contents No data"

    Dear All,
    i have reuired the audit log report but when i am click the Site Action->Site Setting->Audit log reports->Run a custom report-> select the day and option and click ok the i have received the error
    Please help me please check below screen shot

    Can you please confirm that you have configured events to audit?
    Configure
    audit settings for a site collection
    Here is step by step how to configure audit setting.
    http://anthony-verschraegen.blogspot.ca/2013/04/sharepoint-2013-configuring-audit.html
    Amit

  • Audit Log Report generating an "Out of Memory" error message.

    Greetings. We are a new IDM customer. We are running IDM 6.0 with an Oracle database. We are now getting the following error message when we run the IDM Audit Log Report for Today's Activities:
    "java.lang.OutOfMemoryError".
    How do we increase the memory setting for reporting? Thanks.

    Hi,
    I am also getting the same error. I have netbeans with tomcat andi modified the setting the netbeans.conf to
    netbeans_default_options="-J-Xms32m -J-Xmx750m -J-XX:PermSize=32m -J-XX:MaxPermSize=750m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
    i have 896MB of RAM. However, the error is still showing up? Any ideas on how to resolve this?
    Thanks,

  • Audit Log Reports

    Hi
    I have configured site collection audit settings but not able to get old data about users activities on portal using this feature.
    i have created it last dec 10th 2014 and whenever i run audit log reports, it generates report for only from dec 10th to 12th.
    i am not able to get six month old users activities details using this feature on share point online.
    can you please help me out here if possible?
    Thanks a lot !!!

    Hi,
    Its not possible using Javascript/Jquery or client side
    http://www.codeguru.com/csharp/csharp/cs_network/database/article.php/c15335/Auditing-in-SharePoint-2007.htm
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Issue with Audit Log report in SharePoint 2010

    I have enabled REPORTING feature at site collection level and configured the site collection audit settings. I tried to generated Audit log reports, most of the time it keeps on processing as shown in fig.It
    keeps on processing, never comes to report generated successful message. how to overcome this issue?

    i'm facing same issue, even when i tried to generate report for limited limited period(5 days) for a particular event(ex: delete or restore items (or) edit items).
    I think, the below reference may guide you solve your issue
    http://sharepoint.stackexchange.com/questions/17151/how-often-should-the-auditing-log-be-cleared-to-not-affect-performance
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Usage Report and Audit Log report showing different totals

    I am trying to understand the differences displayed in two similar reports. The first report is an 'Audit Log' Report and it is displaying the number of Resource Account creations over a time period. The second report is a Usage Report using the exact same criteria (objectType = Resource Account and Action = Create). The totals I get back are VASTLY different. Can anyone explain? Is this a known bug?

    Hi,
    In any report we don't show the storage policies information. In Cost report if the storage policies have different rate factors then we will show the split for the storage information. But in usage report , rate factors will not be applicable as we don''t show the cost details. Hope this clarifies your question. Please let us know if you need more information.
    Thanks,
    Lakshmi

  • Add and remove columns from JTable

    Help me please!
    A try to remove column from JTable. It's removed, but when I try to add column in table, then I get all old (removed early) columns + new column....
    I completely confused with it.....
    Here is my code for remove column:
    class DelC implements ActionListener
              public void actionPerformed (ActionEvent e )
                   int [] HowManyColDelete = table.getSelectedColumns();
                   if (HowManyColDelete.length !=0)
                        TableColumnModel tableCModel = table.getColumnModel();
                        for (int i = HowManyColDelete.length-1; i>-1; i--)
                             table.getColumnModel().removeColumn (tableCModel.getColumn (HowManyColDelete [ i ]));
                   else
                          JOptionPane.showMessageDialog(JOptionPane.getRootFrame(), "Column is not selected!");
         }

    It's little ex for me, I just try understand clearly how it's work (table models i mean). Here is code. All action with tables take place through menu items.
    My brain is boiled, I've try a lot of variants of code, but did't get right result :((
    It's code represent problem, which I've describe above. If you'll try remove column and then add it again, it will be ma-a-a-any colunms...
    I understand, that my code just hide columns, not delete from table model....
    But now I have not any decision of my problem...
    Thanks a lot for any help. :)
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    import javax.swing.table.DefaultTableModel;
    class JTableF extends JFrame
         Object [] [] data = new Object [0] [2];
         JTable table;
         DefaultTableModel model;
         String [] columnNames = {"1", "2"};
         TableColumnModel cm;
         JTableF()
              super("Table features");
              setDefaultLookAndFeelDecorated( true );
              setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
              JMenuBar MBar = new JMenuBar();
              JMenu [] menus =  {new JMenu("A"), new JMenu("B")};
              JMenuItem [] menu1 =  {new JMenuItem("Add row"), new JMenuItem("Delete row", 'D'),  new JMenuItem("Add column"), new JMenuItem("Delete column")};
              menu1 [ 0 ].addActionListener(new AddL());
              menu1 [ 1 ].addActionListener(new DelL());
              menu1 [ 2 ].addActionListener(new AddC());
              menu1 [ 3 ].addActionListener(new DelC());
              for (int i=0; i<menu1.length; i++)
                   menus [ 0 ].add( menu1 [ i ]);
              for (int i=0; i<menus.length; i++)
                   MBar.add(menus );
              JPanel panel = new JPanel ();
              model = new DefaultTableModel( data, columnNames );
              table = new JTable (model);
              cm = table.getColumnModel();
              panel.add (new JScrollPane(table));
              JButton b = new JButton ("Add row button");
              b.addActionListener(new AddL());
              panel.add (b);
              setJMenuBar (MBar);
              getContentPane().add(panel);
              pack();
              setLocationRelativeTo (null);
              setVisible (true);
         class DelC implements ActionListener
              public void actionPerformed (ActionEvent e )
                   int [] HowManyColDelete = table.getSelectedColumns();
                   if (HowManyColDelete.length !=0)
                        TableColumnModel tableCModel = table.getColumnModel();
                        for (int i = HowManyColDelete.length-1; i>-1; i--)
                             int vizibleCol = table.convertColumnIndexToView(HowManyColDelete [ i ]);
                             tableCModel.removeColumn (tableCModel.getColumn (vizibleCol));
                        //cm = tableCModel;
                   else
                        JOptionPane.showMessageDialog(JOptionPane.getRootFrame(), "Column is not selected!");
         class AddC implements ActionListener
              public void actionPerformed (ActionEvent e)
                   //table.setColumnModel(cm);
                   Object NewColumnName = new String();
                   NewColumnName = JOptionPane.showInputDialog ("Input new column name", "Here");
                   int i = model.getRowCount();
                   int j = model.getColumnCount();
                   Object [] newData = new Object [ i ];
                   model.addColumn ( NewColumnName, newData);
         class AddL implements ActionListener
              public void actionPerformed (ActionEvent e)
                   int i = model.getColumnCount();
                   Object [] Row = new Object [ i ];
                   model.addRow ( Row );
         class DelL implements ActionListener
              public void actionPerformed (ActionEvent e)
                   int [] HowManyRowsDelete = table.getSelectedRows();
                   if (HowManyRowsDelete.length !=0)
                        for (int k = HowManyRowsDelete.length-1; k>-1; k--)
                             model.removeRow (HowManyRowsDelete[k]);
                   else
                        JOptionPane.showMessageDialog(JOptionPane.getRootFrame(), "Row is not selected!");
         public static void main (String [] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        JTableF inst = new JTableF();

  • Audit Log Reports in SharePoint 2007

    Hello, 
    Is it possible to run 'Audit Log Reports' using JavaScript/Jquery in SharePoint 2007?
    Thanks

    Hi,
    Its not possible using Javascript/Jquery or client side
    http://www.codeguru.com/csharp/csharp/cs_network/database/article.php/c15335/Auditing-in-SharePoint-2007.htm
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • 'Content viewing' in 'Audit Log reports' throws timout error

    I have enabled 'Reports' in the site collection features and I am tryin gto generate the 'Content viewing' in 'Audit Log reports'. This keeps me waiting for a couple of minutes and throws a timeout error. Could you please let me know why is this happening
    and is there any way to resolve it  ?
    I am getting the below error in UI and in my logging database
    System.Exception
    Reason: Request timed out. URL:
    https://Mydomain/Mysitecollection/_layouts/RunReport.aspx/Content_viewing.xml
    Thank you
    Regards Rahul A

    Hi,
    According to your issue, firstly, please check if your hardware performance is poor or the site collection has numerous data, if so, improve the hardware or pull the
    data out of the tables, then check the effect.
    Secondly, if you cannot view audit reports for the site http://servername /sites/sitename
    Try to detach and attach content database for the site you want to view, then check the effect.
    Thanks,
    Rock Wang
    Regards, Rock Wang Microsoft Online Community Support

  • I cant see 'audit log report' link in my Site Collection Administration

    Hi i am configuring my sharepoint 2013, i want to use the audit feature, so i follow the steps
    View audit log reports
    To view an audit log report:
    On the Settings menu, click Site settings.
    Note    The Site Collection Administration section will not be available if you do not have the necessary permissions, such as by being a member of the default Site Collections Administrators group.
    In the Site Collection Administration section, select
    Audit log reports.
    but i cant see  Audit log reports at all!!!!!!
    any help is much appreiated!
    My server is windows server 2012 and i am not using sharepoint foundation version.

    i follow the steps in you website, that is the same website i referenced.
    it ask me to :
    On the Settings menu, click Site settings.
    In the Site Collection Administration section, select
    Audit log reports.
    but the question is that i can NOT find this 'Audit log reports' link to select , the question is not i can not open the file.
    the items in my Site Collection Administration is:
    Site Collection Administration 
    Recycle bin 
    Site collection features 
    Site hierarchy 
    Site collection audit settings 
    Portal site connection 
    Site collection app permissions 
    Storage Metrics 
    Help settings 
    HTML Field Security 
    SharePoint Designer Settings
    there is no 'Audit log reports'  link!

Maybe you are looking for

  • Itunes locks up my computer every time I try to start it.  This has happened with the last few updates so I have not used it.

    itunes locks up my computer every time I try to start it.  This has happened with the last few updates so I have not used it.

  • Drop shadow not working

    Hi, It's very strange. I just applied a drop shadow to a shape and then went to apply to another and suddenly it's not doing anything. What's going on? Should I just restart or could it be something else? Thanks!

  • Block selection in JTextArea

    Hi, I was wondering if there is anything built-in to Swing to implement a block selection in a text area. I understand that the concept of block selection is really only applicable when a fixed-width font is used. and since the text is represented as

  • It should be so simple, but...

    Using my MacBook Pro I took some TV stuff off my Tivo using a Canopus analog to FW converter. I used iMovie '09 on the MBP. Then I copied the iMovie Events and iMovie Projects directories onto a brand new internal 1TB hard drive in my new (refurb) Ma

  • Can not start J2EE1.4 on J2SE 1.5 beta

    Did any one successfully run AS8 on Java 1.5 beta? I got this message when I tried to start default domain: "Provider org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found" So, 1.5beta shipped with a different xml parser?