Using Actuate logging and monitoring APIs

gowtham
edited February 11, 2022 in Analytics #1
<p><span style="font-size:12px;"><span style="font-family:arial, helvetica, sans-serif;">Hi Team,</span></span></p>
<p> </p>
<p><span style="font-size:12px;"><span style="font-family:arial, helvetica, sans-serif;">Please let me know is it possible to set up Actuate usage and error logging in iHub trial version.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:arial, helvetica, sans-serif;">If so please refer relevant document.</span></span></p>
<p> </p>
<p><span style="font-size:12px;"><span style="font-family:arial, helvetica, sans-serif;">Regards,</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:arial, helvetica, sans-serif;">Gowtham S</span></span></p>

Comments

  • <p>The usage and error logging is approaching end of life in the iHub 3.x releases. They are being replaced by the Logging Monitoring Service. However, the System Console is required to configured and utilize this service which is not available as part of the trial edition.</p>
    <p> </p>
    <p>That said, the extensions for the usage and error logging are still available in iHub 3.x but will need to be added manually to your iHub's acserverconfig.xml.</p>
    <p> </p>
    <p>In order to determine the available values to set, you can examine the entries for usage and error logging in the acmetadescription.xml. This will provide details about all of the available settings that can be added for the usage and error logging.</p>
    <p> </p>
    <p>By default, your acserverconfig.xml will have a blank entry for the usage and error logging:</p>
    <pre class="_prettyXprint _lang-xml">
    <UsageAndErrorLogging/>
    </pre>
    <p>You will need to modify this to added in the needed entries.</p>
    <p>For example:</p>
    <pre class="_prettyXprint _lang-xml">
    <UsageAndErrorLogging
    EiiLogLevel="Detail"
    AdminLogLevel="Standard"
    EiiLogEnabled="true"
    ErrorLogLevel="Information"
    ErrorLogEnabled="true"
    ViewingLogLevel="Detail"
    DeletionLogLevel="Standard"
    PrintingLogLevel="Standard"
    ViewingLogEnabled="true"
    GenerationLogLevel="Detail"
    GenerationLogEnabled="true"/>
    </pre>
    <p>Always make a backup copy of your acserverconfig.xml before making any modifications. After making changes, you will need to restart the iHub for the changes to take effect.</p>
    Warning No formatter is installed for the format ipb
  • <p>Thanks Jesse,</p>
    <p> </p>
    <p>I found one doc in Actuate " <a data-ipb='nomediaparse' href='http://developer.actuate.com/be/documentation/ihub3/help/BIRTDesigner/index.html#page/AIG/using-logging.30.1.html'>http://developer.actuate.com/be/documentation/ihub3/help/BIRTDesigner/index.html#page/AIG/using-logging.30.1.html</a>&quot;  </p>
    <p>  In this they asked to install " <span style="color:rgb(0,0,0);font-family:'Microsoft Sans Serif', Arial, Verdana, Helvetica, sans-serif;font-size:13.3333330154419px;">BIRT iHub Integration Technology" which has the followings,</span></p>
    <p><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">                    1.       </span></span></span><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">/<strong>DBScripts</strong> contains the SQL script</span></span></span></p>
    <p style="margin-left:53.25pt;"><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">2.       </span></span></span><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">/<strong>jar</strong> contains the JAR files required by the log consolidator application.</span></span></span></p>
    <p style="margin-left:53.25pt;"><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">3.       </span></span></span><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">/<strong>Setup</strong> contains the following files that startup and shutdown the log consolidator application:</span></span></span></p>
    <p style="margin-left:53.25pt;"><em><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">start_consolidator.sh</span></span></span></em><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;"> and <em>stop_consolidator.sh</em> to start up and shut down the log consolidator application</span></span></span></p>
    <p style="margin-left:53.25pt;"><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">4.       </span></span></span><strong><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">consolidatorconfig.xml</span></span></span></strong><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;"> is the sample consolidator configuration file that specifies settings such as the following items:</span></span></span></p>
    <p><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">                             Database driver, URL, encoding, schema, user name, and password</span></span></span></p>
    <p><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">                              Usage and error log details, such as the file names, refresh interval, number of logs, and whether a log file is enabled</span></span></span></p>
    <p style="margin-left:53.25pt;"><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">5.       </span></span></span><span style="color:#000000;"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">A readme.txt file describes how to use these components.</span></span></span></p>
    <p style="margin-left:53.25pt;"> </p>
    <p style="margin-left:53.25pt;"> </p>
    <p>         My question is where i can get iHub Integration tech package? Is it possible to integrate with trial version or i need to go for commercial version?</p>
    <p>         </p>
    <p>- gowtham</p>
  • <p>The "BIRT iHub Integration Technology" is a package that mainly just included examples for various customizations/implementations. However, the last release of this was with iHub 3.0 and to my knowledge there is not a version for iHub 3.1 or 3.1.1.</p>
    <p> </p>
    <p>Some of the examples previously contained in that package are available on GitHub here: <a data-ipb='nomediaparse' href='https://github.com/ActuateBIRT'>https://github.com/ActuateBIRT</a></p&gt;
    <p> </p>
    <p>Is there something in particular you are looking for?</p>
    Warning No formatter is installed for the format ipb
  • <p>Hi Jesse,</p>
    <p> </p>
    <p>   The link you have mentioned doesn't has "ActuateiHubIntegrationTechnology.zip"</p>
    <p> </p>
    <p><a data-ipb='nomediaparse' href='http://developer.actuate.com/be/documentation/ihub3/help/BIRTDesigner/index.html#page/AIG/using-logging.30.1.html'>http://developer.actuate.com/be/documentation/ihub3/help/BIRTDesigner/index.html#page/AIG/using-logging.30.1.html</a></p&gt;
    <p> </p>
    <p>I am using cent OS 6.6. I need the following files and folders for installing usage logging in iHub as per above link,</p>
    <p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">                    1.       </span></span></span><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">/<strong>DBScripts</strong> contains the SQL script</span></span></span></p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">2.       </span></span></span><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">/<strong>jar</strong> contains the JAR files required by the log consolidator application.</span></span></span></p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">3.       </span></span></span><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">/<strong>Setup</strong> contains the following files that startup and shutdown the log consolidator application:</span></span></span></p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><em><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">start_consolidator.sh</span></span></span></em><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;"> and <em>stop_consolidator.sh</em> to start up and shut down the log consolidator application</span></span></span></p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">4.       </span></span></span><strong><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">consolidatorconfig.xml</span></span></span></strong><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;"> is the sample consolidator configuration file that specifies settings such as the following items:</span></span></span></p>
    <p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">                             Database driver, URL, encoding, schema, user name, and password</span></span></span></p>
    <p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">                              Usage and error log details, such as the file names, refresh interval, number of logs, and whether a log file is enabled</span></span></span></p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">5.       </span></span></span><span style="color:rgb(0,0,0);"><span style="font-family:'microsoft sans serif', sans-serif;"><span style="font-size:10pt;">A readme.txt file describes how to use these components.</span></span></span></p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"> </p>
    <p style="margin-left:53.25pt;color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">​My requirement is to log user details who are using the server right now and what are the reports they are viewing/running etc.</p>
  • <p>Yeah, that link has some of the examples that are contained within the Integration Technology zip but not all of them.</p>
    <p> </p>
    <p>Those files you have referenced are not explicitly for the usage/error logging. They are for the usage/error consolidator sample application that parses the usage logs and adds the rows into an Oracle database.</p>
    <p> </p>
    <p>I do not believe there is a version of the consolidator sample application available for the iHub, Trial Edition release. I will do a bit of digging to verify.</p>
    <p> </p>
    <p>However, this does not mean that you cannot use the usage/error logs. They are still created and can be viewed manually but you will need to write a small application to parse the logs and add them into a database if that is what is desired.</p>
    Warning No formatter is installed for the format ipb
  • Hi Jesse,<br><br>
    Do you have any sample code that you could provide to parse the logs and get users accessing the reports on ihub3.1.1?
    Warning No formatter is installed for the format ipb