{"id":2780,"date":"2013-04-24T05:09:23","date_gmt":"2013-04-24T09:09:23","guid":{"rendered":"http:\/\/dougmcclure.net\/blog\/?p=2780"},"modified":"2013-09-27T20:47:56","modified_gmt":"2013-09-28T00:47:56","slug":"smart-cloud-analytics-for-applications-open-beta-integration-with-websphere-liberty","status":"publish","type":"post","link":"https:\/\/dougmcclure.net\/blog\/2013\/04\/smart-cloud-analytics-for-applications-open-beta-integration-with-websphere-liberty\/","title":{"rendered":"Smart Cloud Analytics for Applications Open Beta Integration with WebSphere Liberty"},"content":{"rendered":"<p>As previously mentioned in the <a href=\"http:\/\/dougmcclure.net\/blog\/2013\/03\/from-zero-to-search-in-15-minutes-using-vagrant-to-explore-ibm-log-analytics\/\" target=\"_blank\">first blog post<\/a> in this series, one of the goals for the first release of <a href=\"https:\/\/www.ibm.com\/developerworks\/servicemanagement\/bsm\/log\/index.html\" target=\"_blank\">Smart Cloud Analytics for Applications (SCAA)<\/a> is to make it as simple to download, install and use as possible. One way I\u2019ve found to accelerate this is to start using the tools found within the application development, support and release dev\/ops end user community as they are the target end user personas for the first release of <a href=\"https:\/\/www.ibm.com\/developerworks\/servicemanagement\/bsm\/log\/index.html\" target=\"_blank\">SCAA<\/a>. <\/p>\n<p><strong>Objective<\/strong><\/p>\n<p>The use and excitement surrounding <a href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\">Vagrant <\/a>is rapidly increasing and a vibrant community has emerged allowing for rapid development and support across many platforms. This is enabling application developers, support and release dev\/ops teams to quickly create and work within application environments that most closely resembles what might be found in production. What works well for the latest release of a trendy web\/social\/mobile application can certainly work well for those who work with application management and monitoring tools like <a href=\"https:\/\/www.ibm.com\/developerworks\/servicemanagement\/bsm\/log\/index.html\" target=\"_blank\">SCAA<\/a>.<\/p>\n<p>This follow on blog post advances the use of <a href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\">Vagrant <\/a>and <a href=\"https:\/\/www.ibm.com\/developerworks\/servicemanagement\/bsm\/log\/index.html\" target=\"_blank\">SCAA <\/a>to allow the demonstration of features in a more realistic scenario based manner. You&#8217;ll be able to install <a href=\"https:\/\/www.ibm.com\/developerworks\/servicemanagement\/bsm\/log\/index.html\" target=\"_blank\">SCAA <\/a>in either a stand alone manner or along with another system that has <a href=\"http:\/\/https:\/\/www.ibm.com\/developerworks\/community\/blogs\/wasdev\/entry\/home?lang=en\" target=\"_blank\">WebSphere Liberty 8.5.next<\/a> installed with a sample application. All of this has been integrated so logs are flowing in real time, indexed and ready for searching within the <a href=\"https:\/\/www.ibm.com\/developerworks\/servicemanagement\/bsm\/log\/index.html\" target=\"_blank\">SCAA <\/a>web interface.<\/p>\n<p><strong>Install Virtualbox &#038; Vagrant<\/strong><\/p>\n<p>We\u2019ll create the base of our development and testing environment by using <a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">Virtualbox<\/a> for our virtualized system platform. This will allow us to easily spin up CentOS 6.4 (or other) based systems for laying down the software in our evaluation scenarios for SCAA. I&#8217;ll share how to create a RedHat 6.4 based box in a follow on blog post.<\/p>\n<p>On top of the <a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">Virtualbox<\/a> foundation we use <a href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\">Vagrant<\/a>. <a href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\">Vagrant<\/a> is the magic sauce that allows command line level automation for spinning up the base CentOS boxes then automatically provisioning base package requirements, installing and configuring the SCAA OpenBeta software drivers.<\/p>\n<p>Please refer to the previous blog post <a href=\"http:\/\/dougmcclure.net\/blog\/2013\/03\/from-zero-to-search-in-15-minutes-using-vagrant-to-explore-ibm-log-analytics\/\" target=\"_blank\">here<\/a> if you need a basic install and use overview or the  <a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">Virtualbox<\/a> and <a href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\">Vagrant<\/a> websites for deeper guidance.<\/p>\n<p><strong>Decide on SCAA OpenBeta Driver 1 Deployment Topology<\/strong><\/p>\n<p>While I\u2019m still trying to figure out the best mechanics for releasing incremental scenarios through <a href=\"https:\/\/github.com\/dougmcclure\/ILA-Open-Beta\" target=\"_blank\">git<\/a>, I\u2019ll release this now and solicit your feedback for improvement, bugs, etc. as I feel it\u2019s working well on my laptop environment for now. I\u2019m getting good feedback from some users so hopefully I\u2019ll become better with the use of <a href=\"https:\/\/github.com\/dougmcclure\/ILA-Open-Beta\" target=\"_blank\">git<\/a> and how to do releases, versioning, branching, etc. there.<\/p>\n<p>For now, this release allows for two deployment topologies, <strong>standalone<\/strong> and what I\u2019m calling <strong>scenario1<\/strong>. Standalone is nothing more than SCAA OpenBeta driver 1 now installed on CentOS 6.4 versus CentOS 5.8 as previously <a href=\"http:\/\/dougmcclure.net\/blog\/2013\/03\/from-zero-to-search-in-15-minutes-using-vagrant-to-explore-ibm-log-analytics\/\" target=\"_blank\">blogged<\/a> about. This option will spin up an image and fully deploy driver 1 and provision the DayTrader sample scenario demo as shown below. <\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/stand-alone-box1-demo.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/stand-alone-box1-demo-270x300.png\" alt=\"stand-alone-box1-demo\" width=\"270\" height=\"300\" class=\"aligncenter size-medium wp-image-2784\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/stand-alone-box1-demo-270x300.png 270w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/stand-alone-box1-demo.png 806w\" sizes=\"auto, (max-width: 270px) 100vw, 270px\" \/><\/a>\n<p>The other option is called <strong>scenario1<\/strong> and is a multi-box scenario featuring the above described SCAA OpenBeta driver 1 <strong>box1<\/strong> plus a new system <strong>box2<\/strong> with <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/wasdev\/entry\/home?lang=en\" target=\"_blank\">WebSphere Liberty 8.5.next<\/a> installed using a sample <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/wasdev\/entry\/online_polling_sample?lang=en_us\" target=\"_blank\">Online Polling application<\/a>. This new <strong>box2<\/strong> will also have SCAA OpenBeta driver 1 LFA installed to send the application logs to SCAA. On the SCAA <strong>box1<\/strong>, the appropriate collections, log sources and quick searches are automatically configured allowing immediate search and interaction within SCAA\u2019s main console. <\/p>\n<p>Scenario 1 (shown below) is a great way to see how SCAA will work in your application environment. You\u2019ll get to interact with the data processed via the WebSphere and DB2 Insight Packs as well as log data that doesn\u2019t have an Insight Pack via our Generic Annotation support.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/scenario1-demo.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/scenario1-demo-300x228.png\" alt=\"scenario1-demo\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-2785\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/scenario1-demo-300x228.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/scenario1-demo-1024x779.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/scenario1-demo.png 1179w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Review the read me on <a href=\"https:\/\/github.com\/dougmcclure\/ILA-Open-Beta\" target=\"_blank\"> my git hub here<\/a> for the latest installation procedure. <em><strong>** Note ** with the help of C835722, we&#8217;re refactoring the repository and process to make it much simpler. I&#8217;ll update this blog post with those details when I return to the states. For now &#8211; the readme on the repo <a href=\"https:\/\/github.com\/dougmcclure\/ILA-Open-Beta\" target=\"_blank\">here<\/a> has the details.<\/strong><\/em><\/p>\n<p><strong>Launch WebSphere Liberty Sample Application<\/strong><\/p>\n<p>To generate some application logs within the <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/wasdev\/entry\/home?lang=en\" target=\"_blank\">WebSphere Liberty<\/a> messages and trace logs, launch the Online Polling Sample server app in your browser at <strong>http:\/\/10.10.10.3:9080\/OnlinePollingSampleWeb\/VoteServlet<\/strong>.<\/p>\n<p>You\u2019ll be presented with a few options to initialize the Online Polling Sample server app. Select one and press the submit button. <\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/OnlinePollingSample-inital-login.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/OnlinePollingSample-inital-login-300x238.png\" alt=\"OnlinePollingSample inital login\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-2791\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/OnlinePollingSample-inital-login-300x238.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/OnlinePollingSample-inital-login-1024x814.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/OnlinePollingSample-inital-login.png 1094w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Cast some votes in the sample app. One vote submission will easily create at least 50 log records to be generated based on the level of logging in place in the <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/wasdev\/entry\/home?lang=en\" target=\"_blank\">WebSphere Liberty<\/a> OnlinePollingSample server.xml file. Feel free to customize this for more or less logging as desired!<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/onlinesampleserver-vote-screen.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/onlinesampleserver-vote-screen-300x239.png\" alt=\"onlinesampleserver vote screen\" width=\"300\" height=\"239\" class=\"aligncenter size-medium wp-image-2792\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/onlinesampleserver-vote-screen-300x239.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/onlinesampleserver-vote-screen-1024x818.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/onlinesampleserver-vote-screen.png 1095w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/cast-votes.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/cast-votes-300x237.png\" alt=\"cast votes\" width=\"300\" height=\"237\" class=\"aligncenter size-medium wp-image-2793\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/cast-votes-300x237.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/cast-votes-1024x812.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/cast-votes.png 1098w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p><strong>Launch SCAA OpenBeta driver 1 UI<\/strong><\/p>\n<p>To begin exploring the SCAA OpenBeta driver 1, launch your Firefox 17 browser and point it at <strong>http:\/\/10.10.10.2:9988\/Unity<\/strong>.  You will log in with the username of \u2018unityadmin\u2019 and password of \u2018unityadmin\u2019. <\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/SCAA-inital-log-in.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/SCAA-inital-log-in-300x237.png\" alt=\"SCAA inital log in\" width=\"300\" height=\"237\" class=\"aligncenter size-medium wp-image-2794\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/SCAA-inital-log-in-300x237.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/SCAA-inital-log-in-1024x809.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/SCAA-inital-log-in.png 1101w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p><strong>Examine Logs<\/strong><\/p>\n<p>After logging into the SCAA console, you\u2019ll notice in the upper left corner four quick searches have been created for you.  In the SCAA browser window, click on the <strong>&#8216;Liberty_Trace_Log&#8217;<\/strong> Quick Search to see all of the <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/wasdev\/entry\/home?lang=en\" target=\"_blank\">Websphere Liberty<\/a> OnlinePollingSample application logs within SCAA. Feel free to interact with the results, run wildcard searches across the various log sources, etc.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-300x234.png\" alt=\"first liberty quicksearch\" width=\"300\" height=\"234\" class=\"aligncenter size-medium wp-image-2795\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-300x234.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-1024x801.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch.png 1092w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>By default, the returned search results appear in a &#8220;raw record&#8221; like display. Clicking on the grid icon in the upper left corner above the search results will switch you into a grid (or spreadsheet) like view where the first real interaction with search results becomes possible.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-grid.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-grid-300x239.png\" alt=\"first liberty quicksearch-grid\" width=\"300\" height=\"239\" class=\"aligncenter size-medium wp-image-2796\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-grid-300x239.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-grid-1024x816.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/first-liberty-quicksearch-grid.png 1092w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p><strong>Discovered Patterns<\/strong><\/p>\n<p>Shortly after a quick search or free form search is run, the Configured Patterns or Discovered Patterns sections will begin to populate with key facets found across returned log records. If you clicked on one of the Liberty quick searches, take a look at the &#8216;Discovered Patterns&#8217; that are automatically created through analysis of the log records. <\/p>\n<p>Discovered patterns are automatically generated through the application of text analytics techniques (e.g. regular expressions, pattern inspection, noise removal) to find those things that are of interest in common log files. In the open beta driver1 release we&#8217;re generating discovered patterns in two areas &#8211; Concepts and Key Values. I&#8217;ll go into more detail in a follow on blog post. For now, just think of this as our smart way of finding things you might want to use as a directed search input to further drill down and around the log data you&#8217;re collecting.<\/p>\n<p>We refer to this as our &#8220;Generic Annotation&#8221; support where we can consume any log source that has a log record which begins with a supported timestamp format. We call this &#8220;generic&#8221; in comparison to what we develop (and show in the Configured Patterns panel) using Insight Packs and break out into very specific parsed elements for a specific log source and log record format.<\/p>\n<p>If you see a <strong>> <\/strong>next to a Discovered Pattern entry, this will be a Key Value Pair that we&#8217;ve discovered. You can expand the <strong>> <\/strong>to reveal all of the specific value tokens we&#8217;ve found in the search results for a given key token.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-1-300x237.png\" alt=\"disco patterns 1\" width=\"300\" height=\"237\" class=\"aligncenter size-medium wp-image-2798\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-1-300x237.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-1-1024x809.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-1.png 1086w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Clicking once on a value token will place that token into the search bar. You can add as many as you&#8217;d like by this single click action to construct a specific search pattern of interest. Click on search to execute the search.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2-300x236.png\" alt=\"disco patterns 2\" width=\"300\" height=\"236\" class=\"aligncenter size-medium wp-image-2799\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2-300x236.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2-1024x808.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2.png 1099w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Here&#8217;s a close up view of the matched key value pair in the log record:<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2a-300x68.png\" alt=\"disco patterns 2a\" width=\"300\" height=\"68\" class=\"aligncenter size-medium wp-image-2800\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2a-300x68.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-2a.png 751w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>If you don&#8217;t see the <strong>><\/strong> icon next to an entry in the Discovered Patterns panel, then this is a Concept. In the example below, I&#8217;ve clicked on the Concept &#8216;OnlinePollingSampleServer&#8217;. With close inspection of the actual log record, you can see that this text appeared in the path to a specific file used in this application. <\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3-300x236.png\" alt=\"disco patterns 3\" width=\"300\" height=\"236\" class=\"aligncenter size-medium wp-image-2801\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3-300x236.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3-1024x807.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3.png 1097w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3a-300x36.png\" alt=\"disco patterns 3a\" width=\"300\" height=\"36\" class=\"aligncenter size-medium wp-image-2802\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3a-300x36.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/disco-patterns-3a.png 934w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>We&#8217;d love your feedback on how we can better tune our Discovered Patterns feature. If you have things we should have detected, should be filtering out (noise), etc. please let us know! This feature will continue to be improved over time!<\/p>\n<p><strong>Configured Patterns<\/strong><\/p>\n<p>Let&#8217;s take a look at the Configured Patterns feature now and compare it to what we just walked through for Discovered Patterns. We&#8217;ll be using the DayTrader Sample Scenario which includes a sample from a WebSphere Application Server&#8217;s SystemOut.log and from a DB2 database&#8217;s db2diag log for which we have developed Insight Pack support.<\/p>\n<p>Click on the <strong>&#8216;DT_WAS_SystemOut&#8217;<\/strong> Quick Search. Review and interact with the results. Look at the <strong>&#8216;Configured Patterns&#8217;<\/strong> panel to see the key fields we&#8217;re extracting as part of the WebSphere Insight Packs. While the differences might not readily appear to the untrained eye, what&#8217;s happening behind the scenes is quite different.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-1-300x238.png\" alt=\"config patterns 1\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-2804\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-1-300x238.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-1-1024x813.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-1.png 1095w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Switch over to the grid view by clicking on the grid icon in the upper left corner above the search results. You should now see (in comparison to what you saw when doing the same for the Liberty logs) that we have a number of very specific columns in our grid.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-2-300x238.png\" alt=\"config patterns 2\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-2805\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-2-300x238.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-2-1024x813.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-2.png 1085w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Explore the directed search facets in the Configured Patterns panel. Similarly to the key value pairs in the Discovered Patterns panel, the difference here is that within the Insight Pack we&#8217;ve designed the splitting, parsing and annotation logic based on the well known pattern for the SystemOut.log file. Each of the common fields found in a SystemOut.log log record becomes a group within the Configured Patterns panel and all of the discovered values are populated beneath those field names.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-3-300x236.png\" alt=\"config patterns 3\" width=\"300\" height=\"236\" class=\"aligncenter size-medium wp-image-2806\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-3-300x236.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-3-1024x808.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-3.png 1090w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-4-300x236.png\" alt=\"config patterns 4\" width=\"300\" height=\"236\" class=\"aligncenter size-medium wp-image-2807\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-4-300x236.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-4-1024x806.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/config-patterns-4.png 1097w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>The same can be done for the DB2 logs!<\/p>\n<p><strong>Interacting with Search Results in the Grid View<\/strong><\/p>\n<p>When you&#8217;re in the grid (or spreadsheet) view, you can start to interact with the returned search results. I call this &#8220;Analytics Level 1&#8221; where you&#8217;re able to move beyond the basic search and results display type interactions expected of any product in this space. The most basic interactions that can be done here include the ability to select which columns are displayed (UNFORTUNATELY &#8211; at this time we can&#8217;t change the order of columns, size of the columns, display name of the columns, etc. I HOPE that we can fix this as this is my #1 annoyance and usability issue!!), perform ascending\/descending sort operations across a column and perform column plot analytics (shown below).<\/p>\n<p>To analyze the contents of a column, you can select a column of interest such as the <strong>&#8216;msgclassifier&#8217;<\/strong> by clicking on the column name to highlight\/select its contents. If column plot analytics are available across that column, the pie chart icon will become illuminated with color in the upper right corner above the search results panel. <\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-1-300x235.png\" alt=\"column plot 1\" width=\"300\" height=\"235\" class=\"aligncenter size-medium wp-image-2808\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-1-300x235.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-1-1024x803.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-1.png 1098w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>Click on this icon and a pie chart will appear and be pinned to a panel along the right hand side of the SCAA web console. This chart shows the distribution percentage of all of the different message ID&#8217;s found for the returned search results.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-2-300x236.png\" alt=\"column plot 2\" width=\"300\" height=\"236\" class=\"aligncenter size-medium wp-image-2809\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-2-300x236.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-2-1024x807.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-2.png 1095w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p>You can pin as many of these as you&#8217;d like to help you evaluate the returned search results and decide where to focus further problem isolation and problem determination actions.<\/p>\n<a href=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-3-300x224.png\" alt=\"column plot 3\" width=\"300\" height=\"224\" class=\"aligncenter size-medium wp-image-2810\" srcset=\"https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-3-300x224.png 300w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-3-1024x766.png 1024w, https:\/\/dougmcclure.net\/blog\/wp-content\/uploads\/2013\/04\/column-plot-3.png 1159w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<p><strong>Have Fun and Provide Feedback!!<\/strong><\/p>\n<p>Have fun playing around with this demo scenario. I look forward to hearing how it works for you and the feedback you have! <\/p>\n<p>Don&#8217;t forget about these Vagrant commands!<\/p>\n<p><strong>vagrant up<\/strong> &#8211; spin up the box and provision as specified in the Vagrantfile<br \/>\n<strong>vagrant up &#8211;no-provision<\/strong> &#8211; spin up the box but don&#8217;t execute any provisioners<br \/>\n<strong>vagrant suspend<\/strong> &#8211; suspend the box as is, allows for quick start up again (consumes more host resources)<br \/>\n<strong>vagrant halt<\/strong> &#8211; gracefully shut down the box<br \/>\n<strong>vagrant destroy -f<\/strong> &#8211; wipes out the box &#8211; no part of the base box image will remain<br \/>\n<strong>vagrant destroy -f  &#038;&#038; vagrant up<\/strong> &#8211; my favorite &#8211; kill all and start fresh!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As previously mentioned in the first blog post in this series, one of the goals for the first release of Smart Cloud Analytics for Applications (SCAA) is to make it as simple to download, install and use as possible. One way I\u2019ve found to accelerate this is to start using the tools found within the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[869,316,36,854,855,858,116,366,507,125,38,867,37,879,39],"tags":[411,1043,868,881,882,1040,1042],"class_list":{"0":"post-2780","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-analytics-2","7":"category-automation","8":"category-best-practices","9":"category-bigdata","10":"category-biganalytics","11":"category-bigsearch","12":"category-bsm","13":"category-collaboration","14":"category-community","15":"category-design-patterns","16":"category-ibm","17":"category-ibm-log-analytics","18":"category-implementation","19":"category-smart-cloud-analytics","20":"category-tivoli","21":"tag-analytics","22":"tag-application-analytics","23":"tag-big-data","24":"tag-it-analytics","25":"tag-itopsanalytics","26":"tag-log-analytics","27":"tag-smart-cloud-analytics"},"_links":{"self":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts\/2780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/comments?post=2780"}],"version-history":[{"count":27,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts\/2780\/revisions"}],"predecessor-version":[{"id":2824,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts\/2780\/revisions\/2824"}],"wp:attachment":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/media?parent=2780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/categories?post=2780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/tags?post=2780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}