You can initiate the discovery of entities like packaged applications,
databases, middleware, and other components using the Stack Monitoring UI, view the entity
topology, and collect logs from those entities.
Your entity might have multiple dependent entities that emit logs. When you discover the
composite entity, the dependent entities are automatically discovered.
Prerequisites:
Use an existing log group or create at least one log group to store logs
that you collect from your entities. See Create Log Groups to Store Your Logs.
Tasks To Perform
The following steps use the example of the packaged application Oracle E-Business Suite (EBS) at most places. However, these
steps can be followed for all the resource types supported by Stack Monitoring
service.
Install the Management Agents and Deploy Plug-ins
For Discovery of EBS Entities: Install the
Management Agent on the compute instance that has EBS middleware
(WebLogic Admin Server). On this agent, if the Stack Monitoring
Plug-in is not automatically deployed, then ensure to deploy it.
For Log Collection: Install Management Agents on
all the hosts that have the EBS components installed on them. On
those agents, deploy Logging Analytics
plug-in for collecting the log data.
Open the navigation menu and click Observability &
Management. Under Logging Analytics, click
Administration. The Administration Overview page
opens.
Click Entities from the list of available
resources in the left menu.
In the compartment selector on the left, select the
compartment for the entities to be the same as that of the
management agent used for discovery.
Click Discover New Resource. The Resource
Discovery dialog box opens in the Stack Monitoring service
UI.
Under Resource Type, select the type of Oracle
resource you want to discover, for example, EBS.
You can select from the resource types Apache
HTTP Server, Apache Tomcat,
EBS, GoldenGate,
Host, Microsoft Internet Information
Services, Microsoft SQL Server,
Oracle Database, Oracle HTTP
Server, Oracle JVM Runtime,
Oracle Managed File Transfer, Oracle
WebLogic Domain, Pluggable DB, and
PSFT Application.
At this point, the logs start flowing into Logging Analytics.
Allow Auto-Discovery of Entities
and Log Collection 🔗
Task
IAM Policy Statements
Provide MANAGE permission to the Logging Analytics user group for the
resources in the family stack-monitoring-family
ALLOW GROUP <user_group> TO MANAGE
stack-monitoring-family IN COMPARTMENT
<compartment_name>
Allow Logging Analytics
user group to perform discovery tasks
ALLOW GROUP <user_group> TO
{STACK_MONITORING_DISCOVERY_JOB_CREATE,
STACK_MONITORING_DISCOVERY_JOB_READ,
STACK_MONITORING_DISCOVERY_JOB_DELETE,
STACK_MONITORING_DISCOVERY_JOB_INSPECT} IN COMPARTMENT
<compartment_name>
Here,
compartment_name is the name of the compartment used for
discovery. This is the same as the compartment of the Management
Agents installed for discovery.
Allow Management Agent dynamic group to upload discovery
results to the service
ALLOW DYNAMIC-GROUP
<Management_Agent_Dynamic_Group> TO
{STACK_MONITORING_DISCOVERY_JOB_RESULT_SUBMIT} IN COMPARTMENT
<compartment_name>
Here,
compartment_name is the name of the compartment of the
Management Agents installed for discovery.