Skip to end of banner
Go to start of banner

2.5.5 Exploring Indexes & Comprehensive Reporting Options

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Hello. In this video you will learn about all options and settings in ACDI Reporting – what they mean and what they can influence.

 

Let's go to "Manage", then 'Report Editor" and select a report, for example, the NetIQ Role Request report.

prop1.jpgprop2.jpg

This is a complex report that has many entities, linkages, and all kinds of filters as well as enabled postprocessing. Let's start from "Report properties".

prop3.jpgprop4.jpg

So, in this tab you can define "The Report ID", "Display Name", and "Description".

prop5.jpg

The entries from the applied settings will be displayed on a report's card. Here you can see it.

prop6.jpg

You can also add a base 64 encoded .png icon and it will be shown in the card. Additionally, you can define the background color, "The report version" - the default version of the reporting system is 4 (the latest one).

prop7.jpg

Tags can also be added. With tags you will be able to filter reports and put them into custom reports submenus.

prop8.jpgprop9.jpg

One of the most important settings is "The Main index name".

prop10.jpg

The data in ACDI is stored in different kinds of indices grouped by special aliases. Aliases starting with "workflow" contain events received from the eDirectory Workflow Monitoring package, then indices starting with "report" contain data received from the snapshot services.

prop11.jpg

"Default" stands for the first default - eDirectory – connector. You can have an Active Directory connection or some secondary data connectors. You'll have here the suffix which is the name of your LDAP connection.

prop12.jpg

You can check the suffix of your current connection in "Administration" – “Core Engine".

Here you'll see the list of connections. Each connection has its own indices settings.

prop13.jpg

The indices settings are to be found in "Audit Server - "Indices settings".

prop14.jpg

Here are two connections and in their settings, you can check main alias for the snapshot services and for the event-related service.

prop15.jpgprop16.jpg

Reports with the prefix "audit" contain the audit data received either from the eDirectory ACDI driver or from the Event Service for Active Directory. Indices with this alias contain information about events, changes of objects in eDirectory or Active Directory.

prop17.jpg

Okay, the entity here, which will be used as the main one, can be defined only when you create at least one entity in the "Entities" tab. This main entity serves as the root of all reports.

prop18.jpg

"Default sort attribute" and "The Sort order - ascending or descending. Here you define the number of objects which will be displayed on the page. It's required for the pagination. And here you can enable or disable the "Show Flat result" option. You can learn more about this option in our previous videos.

For the setup of "The default time shift" are used the following values: days, weeks, months, and years. "Days" is set as a default time shift which will be applied to a date picker in the filtering stage. Here are "Round date-time value", "The default round date-time metric"  and "The Slice load". If you have a report that includes many secondary entities and you need to display a large number of attributes with long strings, as well as you have many post-processing functions to transform results, then you will benefit from using "The Slice load" option which increases performance and prevents the reporting system from crashing. With this option enabled, records will be loaded to the resulting table by bulks the size of which you define in the setting right next to this one. Moreover, you can also limit the size of data to be shown on the front-end, since some browsers don't process big sizes of data on front-end. Let's go to the second tab "Entities".

prop19.jpg

"Entities" is a powerful tool that allows you to link different objects not only from types of indices but also from different indices. For example, for snapshots from eDirectory and Active Directory to link data from snapshots with data from events, from events changes, and so on.

prop20.jpg

Each entity can be configured in different ways. Let's go through all of them. The first one is "Name of the entity." The second one is "Query to filter," which allows you to filter results for these objects. The "Advanced filter" can be turned on or off. It will be updated in later ACDI versions.

prop21.jpg

Here is "The DateTime field": for data from snapshots it can be either "initDateStamp" or just "DateStamp." The difference is that "initDateStamp" is the moment when the snapshot was started while "DateStamp" is the exact time when the snapshot of this object was taken. It's recommended to use "initDateStamp" for the snapshot-based entities. For entities based on audit events, in "The DateTime field" can be selected either "audittime” or "eventtime."

prop22.jpg

You can use the alias "main" to apply to the main index name/alias you’ve defined in the "Report properties," or you can input the index name/alias here directly. In this case, when then you use main, you automatically set the source alias for indexes "report-default." So, these two options here are equal.

prop23.jpgprop24.jpg

The next setting is "Entity primary key." Usually, it's "dn" or "guit."

prop25.jpg

Also, in ACDI there is an additional option to filter out objects that do not have at least one value of attributes entered as mandatory. Later you can filter out these results from the search and from the result table. The option can be turned on or off in the "Filters" and "Result Table Attributes" tabs.

prop26.jpg

Moreover, a major option is "The relations" (between entities). You can observe these relations on a report graph where they are depicted with yellow arrows.

prop27.jpgprop28.jpg

In this option, you define the following settings: "Source Attribute,” "The relation type" — one or many.

prop29.jpg

"The link query type," which is used to link entities. It's a strict matching or you can use the regular expression (regex). More detailed information can be found in the OpenSearch Lucene syntax documentation.

prop30.jpg

Here you can apply one of the post-processing functions to parse the value you need.

prop31.jpg

With this switcher, you enable or disable the post-processing option. You can also enable linking entities by exact date_time values to get results, for example, only from the same snapshot.

prop32.jpg

For "The Destination Entity" you need to define an entity from a secondary link. And "Destination Attribute" together with "The relationship type."

prop33.jpg

Let's look at this example closer by opening one of the requests in the History Browser. You can find the attribute "nrfsourcedn" and see it contains the direct DN of a role.

prop34.jpg

It has the same format as the role attribute DN. In this case, you don't need to do any transformations.

prop35.jpg

Let's assume you want to link requests with a list of approvers. The DN of approvers is located inside of an XML file, and thus you need to use a post-processing function to parse it. The next step is to paste it and use it as a link from one side. So, you must create a regular expression on the other side.

prop36.jpg

You can see that from the side of requests the "term" query is used, and the "regex" query is used to link secondary entities with the primary/main one. Additionally, the post-processing option is enabled to transform and parse values from the attribute you defined as a link. Let's go to "Filters."

prop38.jpgprop39.jpg

In ACDI there is a plethora of basic filters. Let's go through all of them.

prop40.jpg

This is how the filters look when you run a report.

prop41.jpg

One of the filters is for the datetime strings. Let's see what a value for the attribute "nrfStartDate" looks like.

prop42.jpg

Here is a request from the History Browser found beforehand so you can check the value. You see here that it is a string with format year, month, date, hour, minutes, seconds, and time zone.

prop43.jpg

Hence, you need to select the "date_time" here and define a few settings, namely, "The DateTime Format Pattern" and "Type of DateTime field" – here it's either "date" or "date_string." The "Direction of dateTime shift" setting must be set to "last" or "next" and "Default time shift from now" is 7 days (set by default).

prop44.jpg

There is a nuance when using these filters: until you apply them, none of the objects will be affected. To apply a filter, you need to click an option, either from or to, and then click the "Apply" icon.

prop45.jpg

Let's now discard filters. To discard filters, you need to click the "Clear all" icon.

prop46.jpg

The other filter type is "autocomplete_search". This is a standard filter where you can enter any value and get results from which you can select the options you need.

prop48.jpgprop49.jpg

The last filter type is the predefined one. You can find an example of this filter in the NetIQ Audit Driver Status report.

prop50.jpg

Choose using results from OpenSearch or the predefined values.

prop51.jpg

Then you select "predefined" here in this setting, and in the last filter setting you need to define a JSON array which will be used as a source for the predefined data.

prop52.jpg

It looks the same as a standard autocomplete search, but it will only have values you entered as the date source. Now let's go through all the settings you can define for filters.

prop53.jpg

Should you have any questions or require any assistance, please do not hesitate to contact us at any time swsupport.skypro@skypro.ch

  • No labels