Creating a custom data source

Create a new data source based on the custom data source type you created earlier.

Before you begin

The WebGUI right-click tools and Event Search dashboards and charts are coded to use a data source named omnibus. The prerequisite for this task varies depending on whether you have ever ingested data into the existing omnibus data source.
  • If you have already ingested data into the existing omnibus data source then you must delete the data. For information on how to do this, see Deleting data external link in the Operations Analytics - Log Analysis documentation.
  • If you have not yet ingested data into the existing omnibus data source then simply delete this data source.

Procedure

  1. In Operations Analytics - Log Analysis, start the Add Data Source wizard and configure an omnibus data source for Netcool®/OMNIbus events.
    Only a single data source is required. The event management tools in the WebGUI support a single data source only.
    1. In the Select Location panel, select Custom and type the Netcool/OMNIbus server hostname.
      Enter the same hostname that was used for the JsonMsgHostname transport property of the Gateway for Message Bus.
    2. In the Select Data panel, enter the following field values:
      Field Value
      File path NCOMS. This is the default value of the jsonMsgPath transport property of the Gateway for Message Bus. If you changed this value from the default, change the value of the File path field accordingly.
      Type This is the name of the data source type on which this data source is based.
      • To use the default data source type, specify OMNIbus1100.
      • To use a customized data source type, specify the name of the customized data source type; for example: customOMNIbus
      Collection OMNIbus1100-Collection
    3. In the Set Attributes panel, enter the following field values:
      Field Value
      Name omnibus. Ensure that the value that you type is the same as the value of the scala.datasource property in the WebGUI server.init file. If the Name field has a value other than omnibus, use the same value for the scala.datasource property.
      Group Leave this field blank.
      Description Type a description of your choice.
  2. Configure access to the data source you set up in the previous step. This involves the following steps in the administrative settings for Operations Analytics - Log Analysis:
    1. Create a role using the Roles tab, for example, noirole, and ensure you assign the role permission to access the data source.
    2. Add a user, for example, noiuser, and assign the role you created that has permissions to access the data source (in this example, noirole).
    For information about creating and modifying users and roles in Operations Analytics - Log Analysis, see one of the following links: .
    Note: The contents of the Netcool/OMNIbus Insight® Pack dashboards are empty unless you log in with a user that has a role assigned with permissions to access the data source.