Do you appreciate the Management Dashboards features available in OCI Observability and Management to view your log analytics, but want a custom interface that incorporates your branding and hides the backend from your customer’s view? Then integrating OCI Logging Analytics and Oracle Visual Builder is the right solution for you!
 

Solution concept
Figure 1: Solution concept

How do OCI Logging Analytics and Oracle Visual Builder help customize branding? 

 

Use the OCI Logging Analytics and Oracle Visual Builder solution to:

  • Rebrand the white-label application as your own. The application serves as the extension of your business.
  • Separate the cloud infrastructure from your customer’s view.
  • Visualize analytics independently.
  • Design a customer interface with freedom and flexibility and draw inspiration from the Management Dashboards in Oracle Cloud.
  • Accelerate your time to market.

 

How the integration of Logging Analytics and Visual Builder works for you
Figure 2: How the integration of Logging Analytics and Visual Builder works for you

 

The application is built using Visual Builder to connect to OCI Logging Analytics in your tenancy. The analysis data is retrieved from the OCI Logging Analytics log group using REST API. In OCI Logging Analytics, first, ingest the logs from your log emitting source, review the aggregated data in a dashboard, and explore the available logs in the Log Explorer.


Oracle Visual Builder is a cloud-based software development Platform as a Service (PaaS) and a hosted environment for your application development infrastructure. It provides an open-source standards-based solution to develop, collaborate, and deploy Oracle Cloud applications. It has a rich set of visual tools that help you quickly design your app by dragging and dropping UI components and customizing their attributes to define behavior.

 

Customer use case

 

A customer wants a custom application interface to:

  • Replicate the dashboards they already offer to their customers through their on-premises infrastructure, and help them migrate to Oracle Cloud and leverage the benefits of OCI Logging Analytics.
  • Separate the backend infrastructure for log processing and analytics from their customers’ view.

 

Custom interface created:

Example custom application interface
Figure 3: Example custom application interface

 

The dashboard application provides multiple views of related data from the same domain on a single page. Visual Builder fragments are ideal for implementing such reusable user interface widgets. The application pages will be a collection of fragment widgets arranged in a responsive format to work for desktop as well as mobile screen sizes.

 

Steps involved in creating the custom application interface:

 

  1. Log collection: Ingest logs into OCI Logging Analytics using any supported ingestion method. In this use case, a Management Agent was used for the continuous collection of a large volume of logs.
  2. Log processing: In Logging Analytics, for the standard logs, the Oracle-defined sources were used for ingesting and pre-processing. For their custom logs, custom parsers and sources were created. The logs were successfully displayed in the Log Explorer. The right visualizations were identified to display the required analytics. 
  3. Build the application: The Example code for the application provided by Oracle was downloaded and customized with relevant details such as tenancy, tenancy namespace, tenancy OCID, region, endpoint URLs, compartment, user OCID, user Fingerprint key, private key, and API signature in the server details.
  4. Test the changes by running the API to ensure a successful response is received.

 

Edit the details in the application code
Figure 4: Edit the details in the application code


The advantage of starting with the example code for the application provided by Oracle is that it is easy to customize and has a quick turnaround. To enhance the interface, edit the existing filters or add more filters in the JavaScript function used in the application.


To get started, watch the video OCI Logging Analytics: Create custom interfaces for applications using Visual Builder and view the detailed steps in the tutorial Create Your Own Application Interface to Customize Your Log Analysis.


Useful links: