cancel
Showing results for 
Search instead for 
Did you mean: 

BO Audit database in Oracle

Former Member
0 Kudos

Hi,

Does anyone have BO Audit Database running in Oracle. I want the Oracle script to create tables, indexes, constraints etc. Can anyone send me the script? How can I get those scripts.

Thanks for your help.

Regards,

Tanveer.

N.B. I have already created a script but not confident whether it will work for all situations.

CREATE TABLE application_type (

Application_Type_ID number(10,0),

Application_Type_Description varchar2(50)

);

CREATE TABLE audit_detail (

Event_ID varchar2(64),

Detail_ID number(10,0),

Server_CUID varchar2(56),

Detail_Type_ID number(10),

Detail_Text varchar2(4000)

)

CREATE TABLE audit_event (

Event_ID varchar2(64),

User_Name varchar2(64),

Start_Timestamp date default to_date('01-01-1000','dd-mm-yyyy') ,

Duration number(10,0),

Event_Type_ID number(10,0),

Server_CUID varchar2(56),

Object_CUID varchar2(56),

Error_Code number(11,0)

)

CREATE TABLE detail_type(

Detail_Type_ID number(10,0),

Detail_Type_Description varchar2(50)

);

CREATE TABLE event_type (

Event_Type_ID number(10,0),

Event_Type_Description varchar2(50)

);

CREATE TABLE server_process (

Server_CUID varchar2(56) ,

Server_Name varchar2(50),

Application_Type_ID number(10,0),

Server_FullName varchar2(100),

Server_Version varchar2(100)

)

alter table application_type add constraint application_type_uk1 unique (Application_Type_ID);

alter table audit_detail add constraint audit_detail_uk1 unique (Event_ID,Detail_ID,Server_CUID);

alter table audit_event add constraint audit_event_uk1 unique (Event_ID,Server_CUID);

alter table audit_event modify (Start_Timestamp NOT NULL);

alter table detail_type add constraint detail_type_uk1 unique (Detail_Type_ID);

alter table event_type add constraint event_type_uk1 unique (event_type_ID);

alter table server_process add constraint server_process_uk1 unique (Server_CUID);

INSERT INTO application_type VALUES (1,'Unknown application');

INSERT INTO application_type VALUES (8,'Web Intelligence Report Server');

INSERT INTO application_type VALUES (10,'CMS');

INSERT INTO application_type VALUES (11,'Cache Server');

INSERT INTO application_type VALUES (12,'Report Job Server');

INSERT INTO application_type VALUES (13,'RAS');

INSERT INTO application_type VALUES (14,'Event Server');

INSERT INTO application_type VALUES (15,'Program Job Server');

INSERT INTO application_type VALUES (17,'Destination Job Server');

INSERT INTO application_type VALUES (18,'Web Intelligence Job Server');

INSERT INTO application_type VALUES (19,'DCP Job Server');

INSERT INTO application_type VALUES (20,'Question Engine Server');

INSERT INTO application_type VALUES (21,'Desktop Intelligence Job Server');

commit;

INSERT INTO detail_type VALUES (40,'Event ID');

INSERT INTO detail_type VALUES (41,'Event Filename');

INSERT INTO detail_type VALUES (42,'User Groups');

INSERT INTO detail_type VALUES (43,'Object Folder Path');

INSERT INTO detail_type VALUES (44,'Object Category Path');

INSERT INTO detail_type VALUES (45,'Session ID');

INSERT INTO detail_type VALUES (46,'Enterprise Error Text');

INSERT INTO detail_type VALUES (47,'ODBC SQLSTATE');

INSERT INTO detail_type VALUES (48,'ODBC Error Text');

INSERT INTO detail_type VALUES (49,'BOE UserID');

INSERT INTO detail_type VALUES (50,'Object Type');

INSERT INTO detail_type VALUES (51,'Report Data Type');

INSERT INTO detail_type VALUES (2,'Universe name');

INSERT INTO detail_type VALUES (3,'Object Name');

INSERT INTO detail_type VALUES (6,'Number of lines');

INSERT INTO detail_type VALUES (7,'Number of elements');

INSERT INTO detail_type VALUES (8,'Document name');

INSERT INTO detail_type VALUES (9,'Document size');

INSERT INTO detail_type VALUES (14,'Description');

INSERT INTO detail_type VALUES (15,'Category name');

INSERT INTO detail_type VALUES (16,'Keywords');

INSERT INTO detail_type VALUES (17,'Refresh options');

INSERT INTO detail_type VALUES (18,'Overwrite');

INSERT INTO detail_type VALUES (19,'SQL value');

INSERT INTO detail_type VALUES (21,'Document type');

INSERT INTO detail_type VALUES (22,'Report name');

INSERT INTO detail_type VALUES (23,'Prompt name');

INSERT INTO detail_type VALUES (24,'Prompt value');

commit;

INSERT INTO event_type VALUES (6,'Get list of universes');

INSERT INTO event_type VALUES (9,'Save document to repository');

INSERT INTO event_type VALUES (11,'Read Document');

INSERT INTO event_type VALUES (13,'Selection of universe');

INSERT INTO event_type VALUES (19,'Document refresh');

INSERT INTO event_type VALUES (21,'List of values');

INSERT INTO event_type VALUES (22,'Edit document');

INSERT INTO event_type VALUES (28,'Apply format');

INSERT INTO event_type VALUES (40,'Get page');

INSERT INTO event_type VALUES (41,'Generate SQL');

INSERT INTO event_type VALUES (42,'Drill out of scope');

INSERT INTO event_type VALUES (43,'Select prompt');

INSERT INTO event_type VALUES (65537,'Concurrent Logon Event');

INSERT INTO event_type VALUES (65538,'Named User Logon Event');

INSERT INTO event_type VALUES (65539,'User Logon Fails');

INSERT INTO event_type VALUES (65540,'User Logoff');

INSERT INTO event_type VALUES (65541,'Password Change');

INSERT INTO event_type VALUES (65542,'Object is Created');

INSERT INTO event_type VALUES (65543,'Object is Deleted');

INSERT INTO event_type VALUES (65544,'Object is Modified');

INSERT INTO event_type VALUES (65545,'Unresponsive Scheduling');

INSERT INTO event_type VALUES (65546,'Rights on an object have been modified');

INSERT INTO event_type VALUES (131073,'Report Viewed Successfully');

INSERT INTO event_type VALUES (131074,'Report Viewing Attempt Failed');

INSERT INTO event_type VALUES (196609,'Report Viewed Successfully');

INSERT INTO event_type VALUES (196610,'Report Viewing Attempt Failed');

INSERT INTO event_type VALUES (262145,'Event is Registered');

INSERT INTO event_type VALUES (262146,'Event is Unregistered');

INSERT INTO event_type VALUES (262147,'Event is Updated');

INSERT INTO event_type VALUES (262148,'Event is Triggered');

INSERT INTO event_type VALUES (327681,'Scheduling Succeeded');

INSERT INTO event_type VALUES (327682,'Scheduling Failed');

INSERT INTO event_type VALUES (327683,'Scheduling Failed but will be reattempted');

INSERT INTO event_type VALUES (458753,'Report is Opened');

INSERT INTO event_type VALUES (458754,'Object is Published/Saved Successfully (4 or 6)');

INSERT INTO event_type VALUES (458755,'Report is Created');

INSERT INTO event_type VALUES (458756,'Report Fails to Open');

INSERT INTO event_type VALUES (458757,'Object Publish/Save attempt Fails (4 or 6)');

INSERT INTO event_type VALUES (458758,'Report fails to get Created');

INSERT INTO event_type VALUES (655361,'Question Succeeded');

INSERT INTO event_type VALUES (655362,'Question Failed');

commit;

And some server specific values to server_process table.

Accepted Solutions (1)

Accepted Solutions (1)

amrsalem1983
Active Contributor
0 Kudos

hiii,,

why do you want the script... the business objects system can create it for you directly

either from the CMS service whicn in the CCM

or from the Repository Migration Wizard.

tell me if you want me to guide you.

good luck

Amr

Former Member
0 Kudos

Hi.

Yes, Amr is right!

There is a feature called Auditor.

First of all you need to check whether your BOE has enable the auditor or not. You should have a database which use for this audit purpose.

In my organization, we use SQL. We also just installed the auditor. It will generate reports inside the web intelligence... these reports are ready made.

One question, for sure if we use the auditor, it will take out some space for our database server.

What are the server spec. recommendation?

Regards,

Alias

Answers (3)

Answers (3)

Former Member
0 Kudos

I got the answer.Thanks to Jack and Amr both.

Former Member
0 Kudos

Audit Universe for the Oracle Audit Database

Former Member
0 Kudos

Hi Amr,

One thing. The Audit universe that we were using against the MySQL Audit database, can we use that again the Oracle Audit Database? Because I can see some of the functions in the Audit universe objects which are available in MySQL and not in oracle. So where can we get the Audit universe for oracle database?

Please let me know at your earliest.

Regards,

Tanveer.

amrsalem1983
Active Contributor
0 Kudos

yes you can do after you modify the differences

you can go to "View" refresh structre

and you can Check the universe for any unrelated oracle functions and so on

then you fix it

so your univese will work fine

good luck

Amr

Former Member
0 Kudos

Yes I can modify the objects. But it will be a big job to find the corresponding functions in oracle. I wish there could be separate AUDIT universe developed based on the underlying audit database which I can readily use. Thanks for your helps.

Former Member
0 Kudos

There are seperate Audit universe based upon your reporting db. I am pasting an SAP note with the info you are looking for. I hope this helps. Although this note states to extact certain cab files of the installer, I believe these files should be located somewhere in the XI installation directories. I don't know where off the top of my head, but if you use your Windows or Unix search utility for the file names listed below you should be able to locate them.

-Jack

Business Objects Notes 1206845 - What BIAR files are needed to install Auditor?

Symptom:

What specific BIAR files are needed for an Auditor install?

Resolution

A BIAR file is a Business Objects Archived Resource file. This is the extension given to a zipped file which contains an XML file and multiple encrypted files for content. This feature is used to enable change management, for example, when moving platform content between test and production environments.

When installing and configuring Auditor, two BIAR files are needed, auditing_rpt_xx.biar and auditing_db_databasename.biar. The auditing_rpt_xx.biar file contains the reports in the required language, and the auditing_db_databasename.biar contains the connection information for the database from which you are reporting. By default, the auditing_rpt_en.biar file and the auditing_db_mysql.biar are installed. You will need to import the correct BIAR file for the database you are using.

Windows Installation

The BIAR files and the Activity Universe are found in the M29.cab file on the install CD.

UNIX Installation

The BIAR files and the Activity Universe are found in the aud00001.tar.gz file on the install CD.

The database files are:

auditing_db_db2.biar

auditing_db_mysql.biar

auditing_db_oracle.biar

auditing_db_sqlserver.biar

auditing_db_sybase.biar

The reporting files by language are:

auditing_rpt_chs.biar

auditing_rpt_cht.biar

auditing_rpt_de.biar

auditing_rpt_en.biar

auditing_rpt_es.biar

auditing_rpt_fr.biar

auditing_rpt_it.biar

auditing_rpt_jp.biar

auditing_rpt_ko.biar

auditing_rpt_nl.biar

auditing_rpt_pt.biar

auditing_rpt_sv.biar

After selecting the appropriate BIAR files, use the Import Wizard to import them to your target Central Management Server (CMS).

Keywords

XIR2 , 9380574

Header Data

Released on 21.10.2007 22:08:29 by Support SAP (SUPPORT)

Current Release Status Released to Customer

Target Release Status Released to Customer

Responsible Support SAP ( SUPPORT )

Category Problem

Application Area BOJ-BIP

Product Version BOBJ ENTERPRISE XI R2

BOBJ ENTERPRISE XI

Other Properties

Business Objects Article ID 9380574

Business Objects ProductFamilyMajorVersion BusinessObjects Enterprise XI

Business Objects ProductName BusinessObjects Auditor

Business Objects ProductMajorVersion BusinessObjects Auditing XI

Business Objects BuildVersion 11.5.0.0

Business Objects SupportQueue Design

Business Objects ProductLanguage English

Former Member
0 Kudos

Jack,

we created auditing tables in Oracle and enabled auditing. According to our naming stardarts it gave names to the tables as follow: schema owner.table name (like BOE.AUDIT_EVENT). When we check in CMC it sais that auditing datasource is not configured correctly. Do we need to make any changes the way database tables are named? What other possiblle reasons could cause bad connection between database and BO (we verified in other tools that user account we are using in setting up connection can read auditing tables)?

Thanks

Vita