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 11 Current »

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.

prop53.jpg

Now let's go through all the settings you can define for filters.

The first one is "Name of the Filter." You can see it in the label of a filter.

prop54.jpgprop55.jpg

Here is also "ID of the Filter" which is displayed in the label of a filter, and you are able to find it in a Report Graph. It's used to link filters with entities. Make sure you keep it unique.

prop56.jpgprop57.jpg

The third option is a selector for entities for which the filter "Entity filter belong to" will be applied.

prop58.jpg

"Data source name" - it's either a search from OpenSearch or the predefined data.

prop59.jpg

Here you define the data attribute name that will be used for filtering. Please take into account that this setting is case-sensitive. 

prop60.jpg

"The Attribute field type" setting is for attributes that have a string type. Here we have "keyword" by default. The difference between "field" and "keyword" is a type of search used to implement this filtering. More detailed information about this difference can be found in OpenSearch documentation.

prop61.jpg

"Sort Attribute." "The Sort order." Here are "Additional Attributes" which you may need later in post-processing.

prop62.jpg

In this setting you select the filter type: "autocomplete_search" or "date_time."

prop63.jpg

You see here switchers for multiple settings that define the behavior of your filter. The "Filter multiple selection" setting is responsible for the way how search will work in "start,"  "between," "end," or use the regular expression to match characters you enter in the search field.

prop64.jpg

Here you can enable the "Case-sensitive search" option. "Delay to start autocomplete search" refers to the delay between the time you start typing and the search process, a.k.a. actual search. The "Collapse result" has an impact on performance but take into account that it will work only for single value attributes. "Filter out all identical values," "Filter out all empty values," and the last option which will filter out entities that don't have the mandatory attributes you defined in "Entities."

prop65.jpg

This is a default behavior. Later, when you are in the filtering stage, you will be able to update these options from the web interface but your changes won't be saved for all reports. It will only work for one operation within the report.

prop66.jpg

The next one is behavior for multiple selection. This means that when you select two or more values, the operation will be executed with "or." However, if you have "and" selected in this setting, the search will try to find objects with multiple values matching your entries.

prop67.jpgprop68.jpg

The "Size of records to fetch" setting refers to how many values you will have in the selector window.

prop69.jpgprop70.jpg

Here you can select one of post-processing functions to transform the data in filters and enable or disable post-processing.

prop72.jpg

These four options are described in our previous video, in the chapter about the date&time filter. The last one is implemented only for the predefined filters. So, this is what the filtering stage looks like.

prop73.jpg

Let's go to the "Result Table Attributes."

Here you need to define a list of attributes to be displayed in the final report.

prop74.jpg

OK, here is the list of entities for the final report and its values.

prop75.jpg

Please take into account one small thing: for secondary entities to be displayed in the final report, you must add a special attribute for an entity and enable the "Use attribute for entity object" option using the switcher here.

prop76.jpg

With enabling this option, you will get a column with the alias name and all data for secondary entities, but it will be divided into different columns if you enable the flat format. Now let's go through all settings for "Result Table Attributes."

prop77.jpg

The first setting is "Name of the Attribute." Then it's followed by "The Entity Name" from which the attribute will be taken. Here you also see "The Alias name for the attribute" which will be displayed in the header of a column. Switcher for enabling "Use attribute for entity object. "Data source name" — currently there is only the "OpenSearch" option available. The "Hide from the result" option works by hiding this value from the results table, but it can be used later for post-processing if you need the values of this attribute to make some calculations and display the outcome based on the values of this attribute.

Here is the post-processing function switcher, and the option for "Pass full record object to the postprocess function." You can learn about post-processing in the respective video on the SKyPRO Academy page. "Field width" in pixels — here you define the minimum width of a column in the web interface in the report results table. There is also the "Achieve left side fixed columns by setting fixed property" option.

prop78.jpg

The last tab — post-processing — is described in one of our previous videos.

prop79.jpg

Thank you for your attention and take care.

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