<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dashboard Usage in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264003#M4780</link>
    <description>&lt;P&gt;Directly from our developers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"We use BI Dashboard 4.3.&amp;nbsp; For drilling down on indicators, we set up our links as stored processes that open in a new window."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mundo&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 20:16:00 GMT</pubDate>
    <dc:creator>Edmundov</dc:creator>
    <dc:date>2016-04-14T20:16:00Z</dc:date>
    <item>
      <title>Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/263960#M4776</link>
      <description>&lt;P&gt;Our department has created various dashboards. &amp;nbsp;We've been asked to see if there is a way to see how much usage the dashboards are getting. &amp;nbsp;Also, is there a way to tell what users are logging in to view the dashboards?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We know how many users have been granted access, but we want actual numbers on the usage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked at the knowledge base plus also at various log files, but so far no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are on SAS 9.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks...Mundo&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:55:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/263960#M4776</guid>
      <dc:creator>Edmundov</dc:creator>
      <dc:date>2016-04-14T17:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/263963#M4777</link>
      <description>How are the dashboards produced, i.e. BI Dashboard, BI stored process, WRS, VA, or ...?</description>
      <pubDate>Thu, 14 Apr 2016 18:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/263963#M4777</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-04-14T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264003#M4780</link>
      <description>&lt;P&gt;Directly from our developers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"We use BI Dashboard 4.3.&amp;nbsp; For drilling down on indicators, we set up our links as stored processes that open in a new window."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mundo&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 20:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264003#M4780</guid>
      <dc:creator>Edmundov</dc:creator>
      <dc:date>2016-04-14T20:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264035#M4782</link>
      <description>&lt;P&gt;I don't know BI Dashboard.&amp;nbsp; But would suggest this related thread which explains different approaches for processing logs, I would think Dashboard usage would show up in some of this logging data discussed:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/RE-How-to-track-who-accessed-what-table-and-columns/td-p/211083" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/RE-How-to-track-who-accessed-what-table-and-columns/td-p/211083&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also references this nifty paper:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings14/1247-2014.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/1247-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Honestly I haven't explored this logging much (I'm not an admin).&amp;nbsp; As&amp;nbsp;a developer, for some home-grown logging of the usage of stored processes I wrote, I soemtimes have the stored process write append a record to a permanent log dataset each time the stored process is called, storing the name of the user, parameters passed, and some other info.&amp;nbsp; It's a quick and dirty way for me to keep track of who is using them, how often, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 22:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264035#M4782</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-04-14T22:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264041#M4783</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin﻿&lt;/a&gt; for mentioning &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11210"&gt;@TriciaAanderud﻿&lt;/a&gt; and my "nifty" paper &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/2857"&gt;@Edmundov﻿&lt;/a&gt; - here is a link to the Audit, Performance and Measurement package that collects the data that you are after from the ARM log files. The package is very useful as it has some predefined SAS code that you can further customise. &lt;A href="https://support.sas.com/rnd/emi/APM94/index.html" target="_blank"&gt;https://support.sas.com/rnd/emi/APM94/index.html&lt;/A&gt; With the release of SAS 9.4 and Environment Manager, this is now not available as a download and I'd suggest you contact SAS Technical Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 23:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264041#M4783</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-04-14T23:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264146#M4788</link>
      <description>&lt;P&gt;On 9.2, as mentioned by Quentin you can try to install the APM kit thus enabling audit reports. I am not sure this tool also covers Dashboard usage : let's hope it does ! If not, then I'll suggest three workarounds :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;locate the Dashboard log file(s) ( probably : &amp;lt;MidTier Server SASCFG&amp;gt;/Levn/Web/logs &amp;nbsp;with backslash on Windows) &amp;nbsp;and code or re-use some parsing SAS scripts that retrieves the relevant information - if this information is logged at all ! Then with a Stored Process or even Infomap/WRS you'll be able to create the reporting you need&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;2. As suggested below, try setting up a dedicated log file(s) using Log4SAS API in order to record the information (if 1. doestn't provide it already) and add a parsing script in the same manner as 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. [more burdensome but effective if done properly] &lt;EM&gt;&lt;STRONG&gt;for each Dashboard&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; add a small invisible Stored Process &amp;nbsp;that records each access by creating an empty flag file named accordingly, like &amp;lt;MetataData Session or instance PID&amp;gt;_&amp;lt;account&amp;gt;_&amp;lt;Dashboard name&amp;gt;_&amp;lt;etc.&amp;gt;_&amp;lt;STP PID&amp;gt;_&amp;lt;TimeStamp&amp;gt;.log. Then with a small SAS script, you collect every now and then the flags and loads the information into some SAS tables etc. The STP code doesn't change, it is a small macro program that prints the macro parameters into a filename on a specific folder.&lt;/P&gt;
&lt;P&gt;You'll have to set a systematic naming rule for each Dashboard if you try to set up this, it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 12:10:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/264146#M4788</guid>
      <dc:creator>ronan</dc:creator>
      <dc:date>2016-04-15T12:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/265148#M4817</link>
      <description>&lt;P&gt;I want to thank everyone for your suggestions.&amp;nbsp; The current log files don't appear to gather the information we're looking for so we might wait until we upgrade to 9.4 to see what our options are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mundo&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 16:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/265148#M4817</guid>
      <dc:creator>Edmundov</dc:creator>
      <dc:date>2016-04-20T16:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/265856#M4843</link>
      <description>&lt;P&gt;I was going to suggest something very similar to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1540"&gt;@ronan﻿&lt;/a&gt;, but even&amp;nbsp;simpler. You do not need to wait for 9.4 and you do not need to change any of your stored process code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your STP autoexec_usermods, issue a libname statement and define a dataset somewhere called auditlib.stp_&amp;amp;syshostname._&amp;amp;sysjobid., defining the variables you want to collect for each stored process execution.&amp;nbsp;Something like this should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname audits "/some/storage/somewhere";&lt;BR /&gt;&lt;BR /&gt;data audits.stp_&amp;amp;syshostname._&amp;amp;sysjobid.;
  length a_username a_programname a_someparam $100;
  length a_timestamp 8;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure that you use a hostname/pid reference in your table so that you avoid multiple processes trying to lock the same sas table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, in Management Console, within the metadata config for your stored process server context, you can define a SAS program that runs and appends the parameters you're after to your audit table that you just initialised&amp;nbsp;in your stp autoexec_usermods, before each &lt;EM&gt;request&lt;/EM&gt;.&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/biasag/61237/HTML/default/viewer.htm#stpopts.htm" target="_self"&gt;This page&lt;/A&gt;&amp;nbsp;also shows you how to alter this per-request metadata config:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2885i2274CE3F591E6555/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="initprogram.PNG" title="initprogram.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Something like this will do for your initialisation program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data appendme;
  length a_username a_programname a_someparam $100;
  length a_timestamp 8;
  a_username="&amp;amp;_METAUSER";
  a_programname="&amp;amp;_PROGRAM";
  a_someparam="any specific identifier that you pass to your stps";
  a_timestamp=datetime();
  output;
run;
  
proc append data=audits.stp_&amp;amp;syshostname._&amp;amp;sysjobid. base=appendme; 
run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you want to run your audit reports, you can create a unifying view of all of your audit tables (one for each session). This will give you what you want, is much easier than installing APM, and with&amp;nbsp;far less performance overhead. If you create an overarching view, you can even create a dashboard to report on this stuff in real time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;Nik&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 21:27:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dashboard-Usage/m-p/265856#M4843</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2016-04-23T21:27:07Z</dc:date>
    </item>
  </channel>
</rss>

