{"id":70,"date":"2011-04-06T15:14:54","date_gmt":"2011-04-06T02:14:54","guid":{"rendered":"http:\/\/blog.kiwibees.net\/?p=70"},"modified":"2017-07-13T04:11:38","modified_gmt":"2017-07-13T04:11:38","slug":"working-with-correlation-ids-in-sp2010","status":"publish","type":"post","link":"https:\/\/blog.gingerninja.nz\/?p=70","title":{"rendered":"Working with Correlation IDs in SP2010"},"content":{"rendered":"<p>One of the most useful (from an Admin&#8217;s perspective) improvements in SharePoint 2010 was the introduction of Correlation ID&#8217;s to assist with diagnosis of errors. Unfortunately a lot of people I&#8217;ve talked to don&#8217;t use them because they don&#8217;t understand how.<\/p>\n<p>I recently came across <a title=\"http:\/\/www.zimmergren.net\/archive\/2010\/09\/03\/sp-2010-find-error-messages-with-a-correlation-id-token-in-sharepoint-2010.aspx\" href=\"http:\/\/www.zimmergren.net\/archive\/2010\/09\/03\/sp-2010-find-error-messages-with-a-correlation-id-token-in-sharepoint-2010.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">this post from Tobias Zimmergren <\/a>that does a superb job of showing you several quick and easy ways to make these little GUID&#8217;s work for you.<\/p>\n<p>In short&#8230;<\/p>\n<pre class=\"prettyprint lang-powershell\" data-start-line=\"1\" data-visibility=\"visible\" data-highlight=\"\" data-caption=\"\">get-splogevent | ?{$_.Correlation -eq \"&lt;GUID&gt;\"} | select Area, Category, Level, EventID, Message | Format-List<\/pre>\n<p>&#8230;will return the detailed log chain relating to that ID, in a human readable format. Handy.<\/p>\n<p>And this..<\/p>\n<pre class=\"prettyprint lang-sql\" data-start-line=\"1\" data-visibility=\"visible\" data-highlight=\"\" data-caption=\"\">SELECT\t\r\n  [RowCreatedTime],\r\n  [ProcessName],\r\n  [Area],   \t\t\r\n  [Category],  \r\n   EventID,  \r\n  [Message]  \r\nFROM [WSS_UsageApplication].[dbo].[ULSTraceLog]\r\nWHERE CorrelationId='&lt;GUID&gt;'<\/pre>\n<p>&#8230;in a SQL query will return much the same detail. I particularly like the suggestion of inserting this in a data-query web-part in Central Admin web-part. Super handy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most useful (from an Admin&#8217;s perspective) improvements in SharePoint 2010 was the introduction of Correlation ID&#8217;s to assist with diagnosis of errors. Unfortunately a lot of people I&#8217;ve talked to don&#8217;t use them because they don&#8217;t understand how. I recently came across this post from Tobias Zimmergren that does a superb job [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[51,55],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-17","tag-sharepoint-2010","tag-tips","comment-open"],"_links":{"self":[{"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=70"}],"version-history":[{"count":1,"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":1469,"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=\/wp\/v2\/posts\/70\/revisions\/1469"}],"wp:attachment":[{"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gingerninja.nz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}