SharePoint Audit Trimming

Hi All,
i had a very huge AuditData table in my Content Database. There were more than 100 M records. I had deleted those. And disable all type of Loggin by setting in Configure Audit Settings in Site Collection.
But if i check in AuditData in Content Database it's still increasing in negligible manner. My question is if i am not enable loging why the records in AuditData are increasing.
Thanks and Regards
Er.Pradipta Nayak
Visit my Blog
Xchanging

The only time audit records are recorded is if the audit log is enabled on one or more site collections.
Trevor Seward, MCC
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • Peformance Turning for File Download / Upload with Enabled SharePoint Audit

    Greetings all, may I ask your help for Peformance Issues?
    Background:
    I tried to create a ASP.NET Web Page to download/upload/list SharePoint file and deployed to IIS website in same application server (will NOT use web part as some users are NOT allowed to direct access confidential workspace)
    Besides, for Audit Log record purpose, the page will impersonate (without password) the logged in user:
    SPUserToken userToken = web.AllUsers[user].UserToken;
    SPSite s = new SPSite(siteStr, userToken);
    For File Listing, the web service can provide fast response, and we are using service A/C for connection (as no auting for listing, but require audit for file download upload)
    Several implemeation options tested for File Downloiad / Upload, but issues occured and finding listed below:
    Issues
    1) SharePoint Object Model
    When I open Site (using new SPSite), it's too slow to respond. (under 1s for all operations, but require 10~50s for open SPSIte. e.g.
    using(SPSite s = new SPSite(siteStr) //50s
    How can I download/upload file without open SPSite object (using SharePoint object model, but user token should be kept to allow SHarePoint identifiy user actions. e.g. Updated by Tom, NOT system administrator)?
    2) SharePoint default web service
    For file download, I tried to use SharePoint Web Service for download file, it's quick but how can SharePoint record the audit log to downloaded user, and not service A/C? ( e.g. View by Tom, NOT system administrator)
    With Windows SSO solution, please note system should NOT prompt to ask user password for use impersonation
    3) HTTP Request API (for file download)
    As mentioned in point 2, if the system cannot get password from user, SharePoint also recorded service A/C in audit log... ><
    Thank you for your kine attention.
    .NET Beginner 3.5

    Thank you for prompt response, please find my reply with Underline:
    Hi,
    Maybe I'm not quite clear about the architecture you have now.
    Is your asp.net application deployed in separate IIS site but in the same physical server as SharePoint?
    Yes
    "we are using service A/C for connection", can you please explain the 'A/C'?
    Domain User, Local Admin and also SharePoint Service Admin A/C
    Opening SPSite is relatively slower but shouldn't take 50 sec. However it depends on your server hardware configuration. You should meet the minimum hardware requirements for SharePoint.
    Assigned double resources based on minimum hardware requirements.
    For details, 50s is the load test result. But for other SharePoint operation, it takes around/under 3s reponse time.
    Are you using SharePoint Audit log? Exactly If so then why don't you just put the hyperlink to the documents in your asp.net page. User maybe have to login once in SharePoint site but
    it depends on your security architecture. For example if both of your sites in local intranet and you are using windows integrated authentication, SSO will work automatically  User is NOT allowed
    to access SharePoint site/server (not implemented for sepreate server yet, as performance issues occured for
    separate site in same server)  directly from Internet, the
    middle server with web interface created for user request.
    Whatever I understands gives me the feeling that you download the file using HTTPWebRequest C# class. However regarding security it depends on how authentication is setup in asp.net web site and in sharepoint. If both site uses windows integrated security
    and they are in the same server, you can use the following code snippet:
    using (WebClient webClient = new WebClient())
    webClient.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    webClient.DownloadFile("file ur in sharepoint", "download directory");
    Thanks, will try and reply later
    But still, as I've mentioned, not quite clear about the whole architecture.
    A) Request Handling
    1) User use browser to request file listing and/or download file (hereafter called: File Download Request) from custom ASP.NET page (Let's say In Server 1, IIS 1)
    2) ASP.NET page  or File Handler ashx (Server 1, IIS 1) call custom web service, SharePoint deault/OOTB web service or using SharePoint Object Model to access SharePoint Document Library (in Server 1,
    IIS 2)
    3) Both SharePoint and IIS Web Site
    (Server 1, IIS 1 & IIS2) using the same service A/C
    4) The web service , File Handler return file obeject to IIS1
    5) IIS 1 reply File Download Request to user
    B) Application Architecture (In testing environment)
    1) no load balancing
    2) 1 DB server (Server 2)
    3) 1 Application Server (with IIS 1 - ASP.NET, IIS 2, SharePoint Web Site with default SharePoint Web Service, IIS 3 SharePoint Admin Site & IIS 4 Custom SharePoint Web Service)
    4) Sepreate AD Server (Server 3)
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    .NET Beginner 3.5

  • Sharepoint Audit report with all items under Data and items selected

    Hi all,
    We have to use following settings under SharePoint
    Configure audit settings.
    Configure audit settings => Data and Items => specify events to audit.
    Under specify events to audit. Select all the available options.
    Could you please answer my following questions?
    What are the recommended guidelines from Microsoft to use audit reporting for collaboration site specifically. More in terms of which settings to be enables for logging considering disk
    space usage.
    If we want to select all options under document and items section for auditing what are the recommendations from Microsoft to implement it. Mire in terms of infrastructure enhancements
    to accommodate the additional log space requirements.

    It's always very relative how much space to reserve for audit logs on SharePoint. It depends on so much factors... Only you can decide what is the best practice for your environment.
    A sharepoint farm should be well maintained as per :
    1. Microsoft's recommendations on : Topology, Hardware and Software requirements, Operational procedures and most important Capacity guidelines:
    http://technet.microsoft.com/en-us/library/ff758645(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx
    2. Organisation's IT policies and procedures : Farm Configuration, Workload and monitoring
    http://technet.microsoft.com/en-us/library/ff758658(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ee748651(v=office.15).aspx
    Also it might be useful to check  SharePoint Auditing Quick Reference Guide
    --- Jeff (Netwrix)

  • How to count number of viewer of a thread in sharepoint discussion board.

    HI All,
    I am working on sharepoint discussion board, I want to calculate the total number of viewers of a thread.
    Just like a thread in MSDN forum Replies & Views.
    is there any column in sharepoint discussion board to get number of views.
    please tell me the approach or share the C# code.
    thanks

    hello
    you can use Sharepoint Audit feature - see
    SPAudit class for details. Also check this link:
    Number of times a post has been viewed in SharePoint Discussion Board
    Blog - http://sadomovalex.blogspot.com
    CAML via C# - http://camlex.codeplex.com
    Graphs visualization in Sharepoint - http://spgraphviz.codeplex.com

  • Third party tool for document preview in sharepoint 2013

    Hello,
    we are looking for third party tool which provide preview of any documents in documnet library in sharepoint 2013. So when users just hover over the document, they can see the preview. Do
    any of you please provide a good suggetion in case if you have used in the past? In my research I came across
    Knowledgelake and harepoint. Also I think there is one Metalogix but I know for sure it a way too costly. So please help if you know who does this job with a fair amount of price.
    Thanks.

    I've found Ontolica Preview to be adequate for this. Reasonable product and supports a lot of formats
    http://www.sharepointreviews.com/component/content/article/69-sharepoint-auditing/202-Ontolica-BehaviorTracking-for-SPS-2003-.pdf
    Might also be worth spending some time on SharePointreviews.com for other suggestions
    http://www.sharepointreviews.com/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Emailing external user using a workflow in Sharepoint 2013

    I am currently trying to create a list where the user can upload a document, input an email address (external) and an expiration date. I then have a workflow that will send an email on the expiration date. The problem I am getting is that Sharepoint 2013
    doesn't like emailling externally.
    22/01/14: I have since found that this isn't a problem with exchange, as Sharepoint is trimming the addresses out of the original workflow. Does anyone know how to stop this.
    Please help.
    Evil Genius at Work. DO NOT DISTURB!!!

    you need to allow their IP address to relay anonymously in Exchange.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c55a6a68-c6e3-4f4d-b5ed-d4e2892fe490/sharepoint-2010-email-external-users-in-a-workflow?forum=sharepointcustomizationprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Workflow History List audit suitability

    Hi
    I'm using Approval workflows to approve documents and also provide auditing. This information is stored in the History List, however I can see  issues.
    1. When a document is approved the information is held in the Workflow History. many times the Document is changed after approval and requires approving again. If the workflow is restarted the previous history link is purged and new workflow information
    is recorded. I can always inspect the Workflow History list and find the orginal associated data but this seems a convoluted processs. I've heard its possible to record this the Record centre somehow. Whats the best option.
    2. The workflow history list gets cleared down every 60 days by default. It can be argued using the Worfklow History List is not suitable for auditing.. Whats options are available?
    Thanks

    for the second question you can use the SharePoint auditing rather than workflow history list for auditing
    http://office.microsoft.com/en-001/sharepoint-server-help/configure-audit-settings-for-a-site-collection-HA102031737.aspx
    http://www.ericgregorich.com/blog/2011/11/28/sharepoint-workflow-history-explained.html
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spauditentry.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to extract audit log data from every document library in site collection using powershell?

    Hi All,
    I have n number of document library in one site collection,
    My query is- How to extract audit log data from every document library in a site collection using powershell?
    Please give solution as soon as possible?

    Hi inguru,
    For SharePoint audit log data, These data combine together in site collection. So there is no easy way to extract audit log data for document library.
    As a workaround, you can export the site collection audit log data to a CSV file using PowerShell Command, then you can filter the document library audit log data in Excel.
    More information:
    SharePoint 2007 \ 2010 – PowerShell script to get SharePoint audit information:
    http://sharepointhivehints.wordpress.com/2014/04/30/sharepoint-2007-2010-powershell-script-to-get-sharepoint-audit-information/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Sequence Length in Audition CC

    When I send a sequence from PPro CC, the scale of the sequence displayed in the sequence reflects the greatest length of the sequence in PPro at any time during the edit. For example: At one point the video sequence was 60 minutes long, but I have cut it down to 5 minutes, locked picture, and now I "edit in Audition." Now the timeline in Audition is 60 minutes long, with a little bitty 5-minute patch of clips over on the left.
    Is there any way to make Audition trim the empty space at the end? Like force-setting the end of the sequence?

    The quickest method to "reset" the view in Audition would be to click the "Zoom Out Full Both Axes" button, located at the top-right corner of the Editor window:

  • Is there a way to Find and or Audit SPS2013 I need to locate 1 user

    I have been asked to find out where 1 user has access to in the site collection and it has about 40 sub-sites.  is there a way to audit on a user.

    If I understand your query exactly, I would suggest you enable auditing on SharePoint that will let you audit SharePoint 2013 changes.
    You may checkout this SharePoint auditing tool (http://www.sharepointauditing.com/) that provides the option to track all the critical changes into real time and provides the data at granular level.

  • Document library: File name with spaces at EOF

    I noticed a strange issue with uploading files with space at end of file (example "ABC  .xlsx"). Such files are allowed to be uploaded for the first time but when the end user (with contribute permission) tries to upload the same file again
    (overwrite) then it uploads the file and goes to the next dialog box where properties for the form is collected (EditForm) and then when user tries to hit save, he gets "Sorry this site is not shared with you" error. The owners (with Full control
    permission) get the error message that the file needs to be renamed. 
    This does not happen with files having proper names. The files are automatically overwritten as expected.
    Is it a SharePoint bug or am I missing something ?

    Hi Prakash,
    When we upload a document which contains spaces at the end of the file name, then SharePoint will trim out the spaces in the Edit Item Form, so the name for this document should be “ABC.xlsx”.
    When we re-upload the document to SharePoint, because of that extra space it sees the filename(ABC  .xlsx) as different to the existing document (ABC.xlsx) so it adds it as a new document.
    And in the edit item form, the space has been trimmed out. Because there is already a document with that filename in the document library, it throws the error.
    So this issue is by design that SharePoint uploads the document first and then edit the properties of the document.
    For more details, please refer to the link below:
    https://discoverlars.wordpress.com/2012/10/27/sharepoint-doesnt-overwrite-a-document-with-the-same-name-but-creates-duplicates/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Did the user open the document before approving it? How to log this in workflow logs?

    Hi there,
    My workflow on Document Library needs to keep logs of:
    - When a user is assigned the document for approval/rejection, did he actually open it or download it before approving?
    How to get this information please in workflow logs please? (I know this information exists in SharePoint Audit logs but that does not work for me - I need this in workflow logs).
    Thanks.

    If you are looking for event logs for Document open/edit you can use "Audit Logs". For more information check these links:
    http://social.technet.microsoft.com/Forums/en-US/3217c715-3ba7-4925-a18e-d7b01ceee71b/-is-it-possible-to-set-alert-on-open-document-event?forum=sharepointadminprevious
    http://sharepoint.stackexchange.com/questions/9315/view-document-event-for-document-library
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • Tracking changes to a site

    My company used Bugzilla in the past (I have never used it)
    to have the client mark and track changes to a site in developemnt
    via a testing server. They couldn't actually MAKE the changes
    themself (like a CMS tool) but it allowed the developers to simply
    keep track what changes they requested and if they should charge
    more for additional changes. Does Dreamweaver have anything like
    this?

    Unless you had auditing enabled you won't find who changed it. 
    Here is a little guide to help you with auditing changes on SharePoint https://gallery.technet.microsoft.com/SharePoint-Auditing-Quick-a0de5d4a if you need more
    details you might consider using 3rd party software like
    Netwrix Auditor for SharePoint solution (20 days of free trial)
    --- Jeff (Netwrix)

  • Tracking changes to a content type

    Hello!
    I'm wondering if anybody knows of a way to track who has made changes to a site content type? I'm trying to find out who's made changes to one of my content types since Friday that has caused me endless issues!
    Any ideas on this would be appreciated!
    Cheers,
    Griff

    Unless you had auditing enabled you won't find who changed it. 
    Here is a little guide to help you with auditing changes on SharePoint https://gallery.technet.microsoft.com/SharePoint-Auditing-Quick-a0de5d4a if you need more
    details you might consider using 3rd party software like
    Netwrix Auditor for SharePoint solution (20 days of free trial)
    --- Jeff (Netwrix)

  • System.Web.HttpException: Request timed out.

    Hi,
    In custom web part I am getting the bulk data from SharePoint audit logs.
    We are getting the below error when we have moved this to production.
    System.Web.HttpException: Request timed out. 
    Please let me know to avoid the same.
    Please provide your valuable inputs on the same.
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi Sudheer,
    Please try to modify the web.config to this:
    <httpRuntime maxRequestLength="51200" executionTimeout="3600" requestValidationMode="2.0" />
    Best Regards
    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]

Maybe you are looking for