Add Entities to Oracle Log Analytics

Using Oracle Log Analytics, you can view and analyze the logs related to a set of entities.

Before you add entities to Oracle Log Analytics, review the list of entities whose logs are commonly analyzed using Oracle Log Analytics. See Commonly Used Oracle Log Analytics Entities and Additional Entities in Oracle Log Analytics.

You can add an entity to Oracle Log Analytics by:

  • Using the Add Entities page in the Administration console in Oracle Management Cloud. See Add Entities from the Console in Using Oracle Infrastructure Monitoring.

  • Creating a JSON file containing the details about that entity and then running an omcli command. If you’re adding multiple entities, you can either create separate JSONs for each entity and run the omcli command once for each file, or you can create a master JSON containing all the required entity details and run the omcli command only once.

    The JSON file should contain all the mandatory properties and attributes for the entity. The mandatory association, such as association between the host and the target instance, is created automatically. However, you can also add non-mandatory associations in the JSON. For steps and example, see Add Entity by Creating a JSON File.

It is recommended that you use the Add Entities page in the Administration console to discover the entity, than by creating a JSON file.

Note:

All hosts are automatically added as entities when a cloud agent is installed and you don’t have to add them separately. However, monitoring of host entities is disabled by default. For information on how to enable host monitoring, see Enable Host Monitoring in Using Oracle Infrastructure Monitoring.