{"id":84,"date":"2016-03-03T17:18:04","date_gmt":"2016-03-03T17:18:04","guid":{"rendered":"http:\/\/eventlogxp.com\/blog\/?p=84"},"modified":"2016-03-10T06:27:45","modified_gmt":"2016-03-10T06:27:45","slug":"once-again-about-custom-columns-extracting-details-from-application-or-system-event-logs","status":"publish","type":"post","link":"https:\/\/eventlogxp.com\/blog\/once-again-about-custom-columns-extracting-details-from-application-or-system-event-logs\/","title":{"rendered":"Once again about custom columns \u2013 extracting details from Application or System event logs"},"content":{"rendered":"<p>In my article &#8220;<a href=\"http:\/\/eventlogxp.com\/blog\/exploring-who-logged-on-the-system\/\">Exploring who logged on the system<\/a>&#8220;, I described how to add to the event list custom columns that display data\u00a0from the event description. Probably you might think that adding custom columns works for Security event logs only. Although we initially designed Custom columns feature exactly for Security logs (and referred them by name, e.g. Subject\\Account name), we made it possible to use it with any logs.<\/p>\n<p>Let&#8217;s take a typical system engineer or administrator task to discover faulty applications on the system. We will search for application error events. Such events are stored in Application event log, event source is &#8220;Application Error&#8221; and they are commonly registered with Event ID=1000.\u00a0Therefore, we need to open Application log, and refine its events:<br \/>\n<a href=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filter.png\" rel=\"attachment wp-att-85\" data-rel=\"lightbox-gallery-S4HN1nSw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-85\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filter-300x267.png\" alt=\"application error (event 1000)\" width=\"300\" height=\"267\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filter-300x267.png 300w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filter-660x587.png 660w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filter.png 705w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filtered.png\" rel=\"attachment wp-att-86\" data-rel=\"lightbox-gallery-S4HN1nSw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-86\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filtered-300x166.png\" alt=\"Application error filtered\" width=\"300\" height=\"166\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filtered-300x166.png 300w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filtered-768x425.png 768w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filtered-660x365.png 660w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_filtered.png 861w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>We can see that the description of event 1000\u00a0is not so well-structured as descriptions in\u00a0Security log:<br \/>\n<a href=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_description.png\" rel=\"attachment wp-att-87\" data-rel=\"lightbox-gallery-S4HN1nSw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-87\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_description-300x75.png\" alt=\"App error description\" width=\"300\" height=\"75\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_description-300x75.png 300w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_description-768x192.png 768w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_description-660x165.png 660w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_description.png 842w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>so it is impossible to refer description parameters by name.<\/p>\n<p>However, we can still refer these parameters by number as {PARAM[x]}.<\/p>\n<p>Look at the event description. The application name and its version is in the very beginning:<\/p>\n<blockquote><p>Faulting application name: googledrivesync.exe, version: 1.27.1227.2094, time stamp: 0x509418e4<\/p><\/blockquote>\n<p>Most likely, we will refer app name as PARAM[1] and its version as PARAM[2], but let&#8217;s make sure.<\/p>\n<p>Double click on an event to get Event Properties and switch to XML tab.<br \/>\n<a href=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_XML.png\" rel=\"attachment wp-att-88\" data-rel=\"lightbox-gallery-S4HN1nSw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-88\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_XML-300x228.png\" alt=\"app_error_XML\" width=\"300\" height=\"228\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_XML-300x228.png 300w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_XML.png 486w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Yes, we can see that googledrivesync.exe 1.27.1227.2094 are the first and the second parameters respectively.<\/p>\n<p>In this example, I will display app name and version number\u00a0in one column as googledrivesync.exe ver 1.27.1227.2094, but you can try 2 columns (for name and version #) or get rid of version number at all.<br \/>\nOpen Custom columns dialog (View-&gt;Custom columns).<br \/>\n<a href=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_err_customcol.png\" rel=\"attachment wp-att-89\" data-rel=\"lightbox-gallery-S4HN1nSw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-89\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_err_customcol-300x182.png\" alt=\"App error custom columns\" width=\"300\" height=\"182\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_err_customcol-300x182.png 300w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_err_customcol.png 499w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Title the column as <strong><em>Faulty app<br \/>\n<\/em><\/strong>Leave Event source and Event ID(s) blank (your log is filtered).<br \/>\nSet Value to <strong><em>{PARAM[1]} ver {PARAM[2]}<br \/>\n<\/em><\/strong>Press <strong>OK<\/strong> and enjoy the result!<br \/>\n<a href=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_results.png\" rel=\"attachment wp-att-90\" data-rel=\"lightbox-gallery-S4HN1nSw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-90\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_results-300x101.png\" alt=\"Application error with custom column - final\" width=\"300\" height=\"101\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_results-300x101.png 300w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_results-768x258.png 768w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_results-660x222.png 660w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2016\/03\/app_error_results.png 852w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84&#038;t=Once%20again%20about%20custom%20columns%20%E2%80%93%20extracting%20details%20from%20Application%20or%20System%20event%20logs&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84&#038;p&#091;images&#093;&#091;0&#093;=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-content%2Fuploads%2F2016%2F03%2Fcolumns.jpg&#038;p&#091;title&#093;=Once%20again%20about%20custom%20columns%20%E2%80%93%20extracting%20details%20from%20Application%20or%20System%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84&#038;text=Check%20this%20Event%20Log%20Explorer%20blog%20post\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-reddit nolightbox\" data-provider=\"reddit\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Reddit\" href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84&#038;title=Once%20again%20about%20custom%20columns%20%E2%80%93%20extracting%20details%20from%20Application%20or%20System%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"reddit\" title=\"Share on Reddit\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/reddit.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-pinterest nolightbox\" data-provider=\"pinterest\" target=\"_blank\" rel=\"nofollow\" title=\"Pin it with Pinterest\" href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84&#038;media=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-content%2Fuploads%2F2016%2F03%2Fcolumns.jpg&#038;description=Once%20again%20about%20custom%20columns%20%E2%80%93%20extracting%20details%20from%20Application%20or%20System%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"pinterest\" title=\"Pin it with Pinterest\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/pinterest.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84&#038;title=Once%20again%20about%20custom%20columns%20%E2%80%93%20extracting%20details%20from%20Application%20or%20System%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Once%20again%20about%20custom%20columns%20%E2%80%93%20extracting%20details%20from%20Application%20or%20System%20event%20logs&#038;body=Check%20this%20Event%20Log%20Explorer%20blog%20post:%20https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F84\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>In my article &#8220;Exploring who logged on the system&#8220;, I described how to add to the event list custom columns that display data\u00a0from the event description. Probably you might think that adding custom columns works for Security event logs only. Although we initially designed Custom columns feature exactly for Security logs (and referred them by name, e.g. Subject\\Account name), we made it possible to use\u2026 <span class=\"read-more\"><a href=\"https:\/\/eventlogxp.com\/blog\/once-again-about-custom-columns-extracting-details-from-application-or-system-event-logs\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":94,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[44,41,39],"tags":[37,38,47,19,21],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts\/84"}],"collection":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":5,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions\/96"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/media\/94"}],"wp:attachment":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}