Thursday, May 19, 2011

11.1.1.5 New Feature – More Data to Audit and Monitor

image
We believe Auditing and Monitoring capability for Reporting is crucial for the IT management and governance regardless if it’s enterprise level or department level deployment. So we are always committed to improve our BI Publisher Auditing and Monitoring capability since we introduced it for the first time
With the first release of 11g (11.1.1.3) we added this Auditing and Monitoring capability, which enables you to monitor who access to which report at what time.
With this new release of 11.1.1.5, we added more data to audit and monitor especially more BI Publisher reports specific information such as:
  • Report output format type
  • Layout Template name
  • Reporting locale
  • If the reports is run online (on-demand) or through the scheduler
  • Processing time
  • Reporting data size
  • Report error message
  • Scheduled job information
And these information can be all available through the database tables so you can use BI Publisher to generate your Auditing reports or visualize the data to gain more insights about how your users are doing on your reporting platform.
If you are interested in the power of the new BI Publisher Auditing and Monitoring, here is a video.


And, if you want to know how to enable the Auditing with the new data sets I’ll cover that below.

Enable Auditing Data

There are three things you need to do to enable the Auditing data.

Setup basic Auditing configuration

I have already talked about these steps before, take a look at these two posts for the detail.

  • How to Audit and Monitor BI Publisher Reports Access?
  • How to Visualize your Audit Data with BI Publisher?

    Run ‘xmlpserver_audit.sql’

    There is a SQL script that you can run to create an additional table, which will store more BI Publisher reports specific data to audit and monitor.
    Let’s take a look how to run the script step by step.
    1. Change the current directory to ‘%BI_HOME%user_projects/domains/bifoundation_domain/config/bipublisher/repository/Admin/Audit’.
    This directory should contain a file called ‘xmlpserver_audit.sql’ file.
    2. Run this script as SYS or SYSTEM user and alter the session user to the schema who owns the AUDIT tables.
    Example:
    Let’s say you have created the Audit schema with the RCU with ‘KAN_IAU’, then you can follow something like below.
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon May 2 13:53:49 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter session set CURRENT_SCHEMA = KAN_IAU;
    Session altered.

    Now you can run the ‘xmlpserver_audti.sql’ script. Note that, when you run you'll be prompted to enter the following three schema names.
    • Basic Auditing Schema name
    • Edit Auditing Schema name
    • View Auditing Schema name
    With the above example of using ‘KAN_IAU’ as your basic schema, it would be something like below.
    • KAN_IAU
    • KAN_IAU_APPEND
    • KAN_IAU_VIEWER
    Here is the example:
    SQL> @xmlpserver_audit
    Table created.
    Index created.
    Enter value for 1: KAN_IAU
    old 1: GRANT ALL on xmlpserver to &&1
    new 1: GRANT ALL on xmlpserver to KAN_IAU
    Grant succeeded.
    Enter value for 2: KAN_IAU_APPEND
    old 1: GRANT INSERT on xmlpserver to &&2
    new 1: GRANT INSERT on xmlpserver to KAN_IAU_APPEND
    Grant succeeded.
    Enter value for 3: KAN_IAU_VIEWER
    old 1: GRANT SELECT on xmlpserver to &&3
    new 1: GRANT SELECT on xmlpserver to KAN_IAU_VIEWER
    Grant succeeded.
    old 1: CREATE OR REPLACE SYNONYM &&3..xmlpserver FOR &&1..xmlpserver
    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_VIEWER.xmlpserver FOR KAN_IAU.xmlpserver
    Synonym created.
    old 1: CREATE OR REPLACE SYNONYM &&2..xmlpserver FOR &&1..xmlpserver
    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_APPEND.xmlpserver FOR KAN_IAU.xmlpserver
    Synonym created.
    After that you need to restart the WebLogic Server to take that in effect. Once that’s done, BI Publisher will start feeding all the auditing and monitoring related information into the auditing tables, and you should be able to start access to the data to create reports and visualize it with BI Publisher.

    Create Reports to Visualize

    If you have already finished the steps mentioned on the previous blog posts then you should already have a JNDI/JDBC connection created. If you haven’t yet, then take a look at the following post. 
  • How to Visualize your Audit Data with BI Publisher? Make sure you assign appropriate application roles to this data source connection so that you or any users who need to create reports for the BI Publisher Auditing and Monitoring data will have an access to the data source.
    image

    With this new set of data available, you can now start creating reports to gain more insights about how your users use the reporting platform and prepare for a better reporting experience by responding and adjusting promptly.

    Start with Sample Reports

    We’re planning to release a set of sample Auditing and Monitoring reports as part of our sample reports inside the catalog some time soon but till then you can start creating your own reports against the Auditing tables by using BI Publisher. For those looking for something quick, I’m attaching a sample report here
    You can download the above files and upload them to your BI Publisher 11g (11.1.1.5) environment from the BI Publisher Catalog UI, but make sure the following three points before you run.
    1. Change the Data Model reference inside the Auditing report to point to the Auditing Data Model that you uploaded
    audit_datamodel_reference
    2. Change the Data Source inside the Auditing Data Model to your JNDI connection
    audit_default_datasource
    3. Update the SQL query to point to appropriate schema name.
    audit_sql_query

    Path to Improve Reporting Experience

    Again, the Auditing is not just about collecting the auditing data and record it. It’s about how you as IT manager or administrator understand your users and reports on the reports environment in order to improve the reporting experience. The more you understand them the better service you can provide. We believe that the new release of BI Publisher 11.1.1.5 would provide you a wide range of data to help you understand your reporting environment better and quickly. Hope you’ll enjoy the power of new BI Publisher Auditing and Monitoring capability.
    Also, as always, we’re very interested in your feedback. Please let us know what do you think about the data currently available, the sample reports, any additional requirements or improvement suggestion.
  • 11.1.1.5 New Feature – More Data to Audit and Monitor

    image

    We believe Auditing and Monitoring capability for Reporting is crucial for the IT management and governance regardless if it’s enterprise level or department level deployment. So we are always committed to improve our BI Publisher Auditing and Monitoring capability since we introduced it for the first time

    With the first release of 11g (11.1.1.3) we added this Auditing and Monitoring capability, which enables you to monitor who access to which report at what time.

    With this new release of 11.1.1.5, we added more data to audit and monitor especially more BI Publisher reports specific information such as:

    • Report output format type
    • Layout Template name
    • Reporting locale
    • If the reports is run online (on-demand) or through the scheduler
    • Processing time
    • Reporting data size
    • Report error message
    • Scheduled job information

    And these information can be all available through the database tables so you can use BI Publisher to generate your Auditing reports or visualize the data to gain more insights about how your users are doing on your reporting platform.

    If you are interested in the power of the new BI Publisher Auditing and Monitoring, here is a video.

     

    And, if you want to know how to enable the Auditing with the new data sets I’ll cover that below.

    Enable Auditing Data

    There are three things you need to do to enable the Auditing data.

    Setup basic Auditing configuration

    I have already talked about these steps before, take a look at these two posts for the detail.

  • How to Audit and Monitor BI Publisher Reports Access?
  • How to Visualize your Audit Data with BI Publisher?

    Run ‘xmlpserver_audit.sql’

    There is a SQL script that you can run to create an additional table, which will store more BI Publisher reports specific data to audit and monitor.

    Let’s take a look how to run the script step by step.

    1. Change the current directory to ‘%BI_HOME%user_projects/domains/bifoundation_domain/config/bipublisher/repository/Admin/Audit’.

    This directory should contain a file called ‘xmlpserver_audit.sql’ file.

    2. Run this script as SYS or SYSTEM user and alter the session user to the schema who owns the AUDIT tables.

    Example:

    Let’s say you have created the Audit schema with the RCU with ‘KAN_IAU’, then you can follow something like below.

    $ sqlplus / as sysdba

    SQL*Plus: Release 11.2.0.1.0 Production on Mon May 2 13:53:49 2011

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> alter session set CURRENT_SCHEMA = KAN_IAU;

    Session altered.

     

    Now you can run the ‘xmlpserver_audti.sql’ script. Note that, when you run you'll be prompted to enter the following three schema names.

    • Basic Auditing Schema name
    • Edit Auditing Schema name
    • View Auditing Schema name

    With the above example of using ‘KAN_IAU’ as your basic schema, it would be something like below.

    • KAN_IAU
    • KAN_IAU_APPEND
    • KAN_IAU_VIEWER

    Here is the example:

    SQL> @xmlpserver_audit

    Table created.

    Index created.

    Enter value for 1: KAN_IAU

    old 1: GRANT ALL on xmlpserver to &&1

    new 1: GRANT ALL on xmlpserver to KAN_IAU

    Grant succeeded.

    Enter value for 2: KAN_IAU_APPEND

    old 1: GRANT INSERT on xmlpserver to &&2

    new 1: GRANT INSERT on xmlpserver to KAN_IAU_APPEND

    Grant succeeded.

    Enter value for 3: KAN_IAU_VIEWER

    old 1: GRANT SELECT on xmlpserver to &&3

    new 1: GRANT SELECT on xmlpserver to KAN_IAU_VIEWER

    Grant succeeded.

    old 1: CREATE OR REPLACE SYNONYM &&3..xmlpserver FOR &&1..xmlpserver

    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_VIEWER.xmlpserver FOR KAN_IAU.xmlpserver

    Synonym created.

    old 1: CREATE OR REPLACE SYNONYM &&2..xmlpserver FOR &&1..xmlpserver

    new 1: CREATE OR REPLACE SYNONYM KAN_IAU_APPEND.xmlpserver FOR KAN_IAU.xmlpserver

    Synonym created.

    After that you need to restart the WebLogic Server to take that in effect. Once that’s done, BI Publisher will start feeding all the auditing and monitoring related information into the auditing tables, and you should be able to start access to the data to create reports and visualize it with BI Publisher.

    Create Reports to Visualize

    If you have already finished the steps mentioned on the previous blog posts then you should already have a JNDI/JDBC connection created. If you haven’t yet, then take a look at the following post. 

  • How to Visualize your Audit Data with BI Publisher?

    Make sure you assign appropriate application roles to this data source connection so that you or any users who need to create reports for the BI Publisher Auditing and Monitoring data will have an access to the data source.

    image

     

    With this new set of data available, you can now start creating reports to gain more insights about how your users use the reporting platform and prepare for a better reporting experience by responding and adjusting promptly.

    Start with Sample Reports

    We’re planning to release a set of sample Auditing and Monitoring reports as part of our sample reports inside the catalog some time soon but till then you can start creating your own reports against the Auditing tables by using BI Publisher. For those looking for something quick, I’m attaching a sample report here

    • Sample Auditing Report
    • Sample Auditing Data Model

    You can download the above files and upload them to your BI Publisher 11g (11.1.1.5) environment from the BI Publisher Catalog UI, but make sure the following three points before you run.

    1. Change the Data Model reference inside the Auditing report to point to the Auditing Data Model that you uploaded

    audit_datamodel_reference

    2. Change the Data Source inside the Auditing Data Model to your JNDI connection

    audit_default_datasource

    3. Update the SQL query to point to appropriate schema name.

    audit_sql_query

    Path to Improve Reporting Experience

    Again, the Auditing is not just about collecting the auditing data and record it. It’s about how you as IT manager or administrator understand your users and reports on the reports environment in order to improve the reporting experience. The more you understand them the better service you can provide. We believe that the new release of BI Publisher 11.1.1.5 would provide you a wide range of data to help you understand your reporting environment better and quickly. Hope you’ll enjoy the power of new BI Publisher Auditing and Monitoring capability.

    Also, as always, we’re very interested in your feedback. Please let us know what do you think about the data currently available, the sample reports, any additional requirements or improvement suggestion.

  • Thursday, May 12, 2011

    BI Publisher 11g - 11.1.1.5 is here!

    New Oracle BI Publisher 11g Release 11.1.1.5 is released! Here is a list of the new features.

    clip_image002

    Much Faster Interactive Reporting Experience

    Using BI Publisher to interact with your data is snappy. Generating interactive report output uses less memory and is faster than ever. BI Publisher’s highly optimized, three layer caching mechanism provides a highly responsive, interactive reporting experience.

    New Interactive Component - List

    The List component is a nifty way to filter data in an interactive report. When you click values in the list, BI Publisher automatically filters the data in the report. In the Layout Editor you can set the orientation of the List to be horizontal or vertical and over 30 other options to make it visually appealing for your consumer needs. Lists are another great way to interact with your report to gain more insight.

    clip_image004

    clip_image007

    Both Native and Web Apps for iPhone & iPad

    More and more business tasks are performed on mobile devices like iPhone and iPad, so why not browse reports and interact with your data on your mobile device with BI Publisher? Simply access your BI Publisher reports with Safari or other browsers on your iPad or iPhone, or install the Oracle BI Mobile App for iPhone and iPad to enjoy the same rich, fast interactive reporting experience as on your desktop or laptop.

    Enterprise Reporting Platform for Oracle - E-Business Suite

    BI Publisher now supports Oracle E-Business Suite’s data level security based on user responsibility and allows you to switch responsibilities on the fly. You can use BI Publisher 11.1.1.5 to view, manage, and deliver reports against E-Business Suite data and join and aggregate with data from other data sources. Utilities are available to help you convert from Oracle Reports and upgrade to BI Publisher 11g. Start taking advantage of many of the great BI Publisher 11g new features with your E-Business Suite data today.

    clip_image008

    clip_image010

    New Data Source – Local Excel File

    Often times you need data in Excel to supplement other data or you need to visualize it quickly. BI Publisher 11.1.1.3 added Excel files as a data source so you could create a report against Excel data located on the server. BI Publisher 11.1.1.5 goes one step further. Now you can upload Excel spreadsheets from your local machine directly to a Data Model. Create reports from the uploaded Excel spreadsheet or join it and aggregate it with other data sources. Reporting with local Excel files is a great way to empower your users to visualize and share data easily and still maintain a centralized report environment.

    New Template Type - Excel Template

    Some users just love Excel, so we added Excel as a report layout design option. In addition to the existing template options like BI Publisher Templates, RTF, PDF, Flash, and others, you can now use Excel to design your report the way you want, using custom functions and Excel Macros to split data across multiple sheets, calculate values dynamically, then share with your colleagues.

    clip_image012

    clip_image014

    Auditing and Monitoring

    Auditing is not just about compliance, it’s a way to improve customer service by understanding what your users like to do, when and how they access and view reports. BI Publisher 11.1.1.3 included a framework to help IT Administrators collect data required for auditing. BI Publisher 11.1.1.5 enhances the audit and performance information captured and introduces a method to store the data into a database. Now you can use BI Publisher to visualize, analyze and report on your auditing and performance information.

    New Output Format Type – Native Excel 2007 Output

    Now you can download your report as Excel 2007 format and open it with the latest Excel on both Windows and Mac with high fidelity formatting and layout. You can use repeating groups in your report to automatically group data in separate worksheets. With this format option the downloaded Excel file is 70% smaller compared to other Excel output types, which makes it easier to share your report in Excel with your colleagues.

    clip_image015

    clip_image017

    Reports Development Life Cycle Management

    Developing reports often involves multiple phases and processes before going live. Reports need to be moved to a testing environment after the development and then to the production environment. You can use the new BI Publisher Catalog Utility to move your reports either one at a time or in batch from one environment to another all without shutting down servers so users can continue to generate the mission critical documents and reports they need.

    Want to learn more about BI Publisher?

    clip_image019

    Follow us @bipublisher for our latest news, inside scoop, or tweet us your feedback!

    clip_image021

    Connect with other BI Publisher professionals!

    clip_image023

    Find How-to and solutions over 500 articles!

    clip_image025

    Subscribe our channel and check our introduction and How-to videos!

    clip_image027

    Ask any question you have and get answered at our Discussion Forum!