Skip to main content
Version: NG-3.1

Weblogic

Introduction

WebLogic is a powerful Java application server used to build and deploy enterprise applications. It offers scalability, high availability, and security for your applications, making it ideal for mission-critical deployments.

Getting Started

Compatibility

The WebLogic O11ySource supports versions 12c and later.

Data Collection Method

vuSmartMaps collects Weblogic health and performance metrics using OmniAgent’s JVM probe, and ingests logs via OmniAgent’s log collection probes.

Prerequisites

Dependent Configuration

To configure this O11ySource, create a 'credential' of type 'user' under the 'Definition' tab.

Inputs for Configuring Data Source

  • WebLogic Server: The IP Address/FQDN of the WebLogic server. This field is the key to identify each server you add here.
  • Period [in seconds]: How frequently data is gathered. The period should be between 60 seconds – 3000 seconds.
  • Port: Provide the port details
  • Credentials: This is optional
  • Access Log Path: Enter the Weblogic access logfile's entire path
  • Admin Log Path: Enter the Weblogic admin logfile's entire path.
Applications

Firewall Requirement

To collect data from this O11ySource, ensure the following ports are opened:

Source IPDestination IPDestination PortProtocolDirection
IP address of the WebLogic servervuSmartMaps Collection/Ingress node IP443*TCPInbound

*Before providing the firewall requirements, please update the port based on the customer environment.

Configuring the Target

Configure Logs Collection from Weblogic Server The Weblogic access log offer even more specific information about each client request, errors, and Weblogic-specific operations. Turnaround Time (TAT) is NOT included by default in WebLogic access logs.Enabling Turnaround Time (TAT) is essential for effective WebLogic log monitoring.The %D variable precisely measures the time taken to handle each request in microseconds. To integrate %D into the log format used by Weblogic, you should make adjustments to your Weblogic configuration file.

  • Find your Weblogic configuration file, commonly named config.xml, and open it for editing. Then, search for the access-log section inside the server configuration, as this directive is responsible for defining the log format utilized by Weblogic.
  • Modify the pattern to include %D. For example:
<pattern="%h %l %u %t "%r" %s %b %D" />

In the above example, we added %D to the end of the log format string.

Configuration Steps

Metrics Collected

NameDescriptionData Type
TimestampTimestamp of the eventString
TimestampThe precise timestamp when the data was recorded, including milliseconds.DateTime64
TargetIP Address of the Weblogic ServerString
HostIP Address of the Weblogic ServerString
Tenant IDIdentifier for the specific tenant or customer in a multi-tenant environment.LowCardinality(String)
Bu IDIdentifier for the business unit.LowCardinality(String)
TypeSpecifies the category or kind of entity or metric being referred to.String
UptimeThe total time that a server, application, or system has been operational and running without interruptionFloat64
StatusThe current operational state or condition of a server, application, or componentLowCardinality(String)
Error MessageA description of an error or issue encountered by the system or applicationString
Server HealthA metric indicating the overall health and operational status of a serverLowCardinality(String)
ServernameIt is used to uniquely identify a specific Admin Server or Managed ServerString
Vublock NameThe name of a specific Virtual User Block or resource in a system.LowCardinality(String)
Topic NameThe name of a specific topic within a messaging system or publish/subscribe model.LowCardinality(String)
Application NameThe name of ApplicationString
Active Transactions Total CountTotal count of active transactionsUInt32
Execute Thread Idle CountCount of idle execution threadsUInt32
Execute Thread Total CountTotal count of execution threadsUInt32
Heap Free CurrentCurrent free heap MemoryFloat64
Heap Free PercentPercentage of free heap memoryFloat64
HeapsizemaxMaximum heap sizeFloat64
Hogging Thread CountCount of hogging threadsUInt32
Transaction Total CountTotal count of transactionsUInt32
Transaction Total Count ChangeTotal count of transactionsUInt32
Transaction Abandoned Total CountNumber of transactions that have been abandonedUInt32
Transaction Abandoned Total Count ChangeNumber of transactions that have been abandonedUInt32
Transaction Committed Total CountThe total number of transactions that have been successfully committed.UInt32
Transaction Committed Total Count ChangeThe total number of transactions that have been successfully committed.UInt32
Transaction Rolled Back Total CountThe total number of transactions that have been rolled back.Float64
Transaction Rolled Back Total Count ChangeThe total number of transactions that have been rolled back.UInt32
Memory Pool NameRefers to the name of a memory pool in the JVM (Java Virtual Machine) heap.String
StarttimeRefers to the timestamp when a particular server instance, application, or resource was startedString
EndtimeRefers to the timestamp when a particular server instance, application, or resource was stopped or shut downString
NameName of the ApplicationString
DurationDuration of the ApplicationFloat64
Memory After GC MaxRefers to the maximum amount of memory available in the JVM heap after a garbage collection (GC) eventFloat64
Memory After GC CommittedRepresents the amount of memory that is committed and available immediately after a garbage collection (GC) event.Float64
Memory After GC InitRefers to the initial amount of memory available immediately after a garbage collection (GC) eventFloat64
Memory After GC UsedIndicates the amount of memory that is being used by the JVM immediately after a garbage collection (GC) event.Float64
Memory Before GC InitThe state of memory just before GC is performed.Float64
Memory Before GC CommittedIndicates the memory that is allocated and reserved for application use just prior to GC.Float64
Memory Before GC MaxThe highest level of memory that was available for use just prior to GC.Float64
Memory Before GC UsedThe amount of memory that was in use by the JVM immediately before a garbage collection (GC) event.Float64
Memory Code Heap Non Methods Memory After GC CommittedThe amount of committed memory allocated for the non-nmethods code heap (such as JIT compiler code) immediately after a garbage collection (GC) event.Float64
Memory Compressed Class Space Memory Before GC UsedThe amount of memory used in the compressed class space just before a garbage collection (GC) eventFloat64
Memory Metaspace Memory Before GC UsedRepresents the amount of memory used in the Metaspace (which stores class metadata) immediately before a garbage collection (GC) event.Float64
Memory Ps Eden Space Memory Before GC UsedAmount of memory used in the Eden Space of the JVM heap immediately before a garbage collection (GC) eventFloat64
Memory Ps Survivor Space Memory Before GC UsedAmount of memory used in the Survivor Space of the JVM heap before a GC event.Float64
Memory Compressed Class Space Memory After GC UsedAmount of memory used in the Compressed Class Space immediately after a GC event.Float64
Memory Code Cache Memory After GC UsedAmount of memory used in the Code Cache (for JIT-compiled code) immediately after a GC event.Float64
Memory Ps Eden Space Memory After GC UsedAmount of memory used in the Eden Space immediately after a GC event.Float64
Memory Ps Old Gen Memory Before GC UsedAmount of memory used in the Old Generation of the JVM heap immediately before a GC event.Float64
Memory Ps Survivor Space Memory After GC UsedAmount of memory used in the Survivor Space immediately after a GC event.Float64
Memory Ps Old Gen Memory After GC UsedAmount of memory used in the Old Generation immediately after a GC event.Float64
Memory Metaspace Memory After GC UsedAmount of memory used in the Metaspace (for class metadata) immediately after a GC event.Float64
ThroughputPercentage of time the JVM spends doing application work versus time spent performing garbage collectionFloat64
Stuck Thread CountNumber of threads that are considered "stuck" or not making progress, which may indicate performance issues or deadlocksUInt32
Collection CountTotal number of garbage collection (GC) events that have occurred. This metric helps assess the frequency of garbage collections.UInt32
Collection Count ChangeDifference in the number of GC events over a specific period. It helps in understanding changes in GC activityUInt32
Collection TimeTotal time spent performing garbage collections. This metric helps assess the impact of GC on application performanceUInt32
Collection Time ChangeDifference in the total time spent on GC between two time points. It indicates changes in garbage collection timeUInt32
JMS HealthIndicates the health status of the Java Message Service (JMS) subsystemLowCardinality(String)
JTA HealthRepresents the health status of the Java Transaction API (JTA) subsystem.LowCardinality(String)
App HealthHealth status of the applicationLowCardinality(String)
Memory Usage Heap Memory Usage CommittedRepresents the amount of heap memory that the JVM has committed and is available for use by the application.Float64
Memory Usage Heap Memory Usage InitIndicates the initial amount of heap memory allocated by the JVM when it starts.Float64
Memory Usage Heap Memory Usage MaxRepresents the maximum amount of heap memory that the JVM is allowed to use.Float64
Memory Usage Heap Memory Usage UsedShows the amount of heap memory currently being used by the application.Float64
Memory Usage Non Heap Memory Usage CommittedRepresents the amount of non-heap memory committed by the JVM and available for use.Float64
Memory Usage Non Heap Memory Usage InitIndicates the initial amount of non-heap memory allocated by the JVM when it starts.Float64
Memory Usage Non Heap Memory Usage MaxRepresents the maximum amount of non-heap memory that the JVM is allowed to useFloat64
Memory Usage Non Heap Memory Usage UsedShows the amount of non-heap memory currently in use by the JVM.Float64
Application IPThe IP address of the application making the connection.String
Listen AddressThe network address where the server is listening for connections.String
Connection Delay TimeThe time delay (in milliseconds) before a connection is established.Float64
StateThe current state of the connection or resource (e.g., Active, Idle, Failed).String
ActiveconnectionshighcountThe highest number of active connections recorded at any point.Float64
ActiveconnectionscurrentcountThe current number of active connections at the given time.Float64
Leaked Connection CountThe number of leaked connections (connections that were not properly closed).Float64
Curr Capacity High CountThe maximum capacity utilization recorded for a resource.Float64
Curr CapacityThe current capacity utilization of the resource.Float64
Messages Received CountThe total number of messages received by the system.Float64
Messages High CountThe highest number of messages received in a given time period.Float64
Messages Current CountThe number of messages currently being processed.Float64
Messages Pending CountThe number of messages that are pending and waiting to be processed.Float64
Consumers Current CountThe number of active consumers processing messages at the given time.Float64
Consumers High CountThe highest number of consumers recorded during operation.Float64
Destination TypeThe type of destination the message is being sent to (e.g., Queue, Topic).String
TimestampThe raw timestamp of the log entry as a string.String
TypeThe type/category of the log entry.String
Vublock NameThe name of the vublock associated with the log.String
Topic NameThe topic under which the log is categorized.String
HostThe hostname or server where the log originated.LowCardinality(String)
TargetThe target resource being accessed or affected.LowCardinality(String)
RequestThe HTTP request URL or action.String
ReferrerThe referrer URL, indicating the source of the request.String
Status CodeThe HTTP status code returned by the server (e.g., 200, 404).UInt64
HTTP CodeAn additional HTTP-related code (may be identical to status_code).UInt64
ResponseThe response message or body returned by the server.String
MethodThe HTTP method used in the request (e.g., GET, POST).String
HTTP VersionThe HTTP version used (e.g., 1.1, 2.0).String
Client IPThe IP address of the client making the request.String
Response SizeThe size of the response data sent to the client.UInt64
User AgentThe user agent string from the client's request header.String
TimestampThe timestamp of the log entry with millisecond precision.DateTime64(3)
SeverityThe severity level of the log message (e.g., 16 for Warning).UInt64
MillisecondsThe exact milliseconds portion of the log timestamp.Float64
Unique IDA unique identifier for tracking log entries.String
YearThe year when the log entry was recorded.Float64
TimezoneThe timezone of the log event (e.g., GMT).String
ThreadThe name or identifier of the thread that generated the log.String
MonthThe month when the log entry was recorded (e.g., Mar).String
AmpmIndicates whether the log timestamp is in AM or PM.String
Log CodeA specific log identifier or error code (e.g., BEA-000365).String
LoglevelThe severity level in text format (e.g., Info, Warning).String
TimeThe time of the log entry without the date component.String
CategoryThe category or module related to the log entry (e.g., Security).String
DayThe day of the month when the log was recorded.UInt64
MessageThe detailed log message content.String
TAT MicrosecondsTurn Around TimeFloat64
Listenportrefers to the TCP port number on which a server instance listens for incoming client requestsUInt64
Open Socket Countrefers to the number of open network socket connections currently handled by the server.UInt64
Application Portdefines the primary network port used by WebLogic Server to accept application traffic.UInt64
Current RequestThe request that the thread is currently processingString
Work Manager NameSpecifies the WebLogic Work Manager responsible for managing and scheduling the request execution.String
UserIdentifies the authenticated WebLogic user associated with the request or operation.String
Service Request Total CountShows the cumulative number of service requests processed by the WebLogic service since startup or over the monitored period.UInt64
ModulenameName of the EAR, WAR, or EJB module this WorkManager is associated with.String
HealthstateOverall health state of the WorkManager (OK, WARN, CRITICAL).LowCardinality(String)
PendingrequestsNumber of requests currently waiting in the WorkManager queue.UInt32
CompletedrequestsTotal number of requests processed by the WorkManager since startup.UInt64
Max Threads ConstraintMaximum number of concurrent threads allowed for this WorkManager.UInt32
Max Threads Constraint Executing RequestsNumber of requests currently executing under the MaxThreadsConstraint.UInt32
Max Threads Constraint Deferred RequestsNumber of requests deferred due to the MaxThreadsConstraint limit being reached.UInt32
Min Threads ConstraintMinimum number of threads guaranteed to be allocated to this WorkManager.UInt32
Min Threads Constraint CompletedrequestsTotal number of requests completed under the MinThreadsConstraint.UInt64
Min Threads Constraint Current Wait TimeCurrent wait time in milliseconds for threads under the MinThreadsConstraint.UInt64
Min Threads Constraint Must Run CountNumber of threads that must run immediately as required by the MinThreadsConstraint.UInt32
Request Class TypeType of request class assigned to this WorkManager (FairShare, ResponseTime, or Context).LowCardinality(String)
Request Class Completed CountTotal number of requests completed under the associated RequestClass.UInt64
Request Class Pending Request CountNumber of requests currently pending in the associated RequestClass.UInt32
Request Class TotalthreaduseTotal accumulated thread usage by the associated RequestClass.UInt64
Request Class Virtual Time IncrementVirtual time increment applied by the RequestClass scheduler for fair-share prioritization.UInt64
Out Of Order Execution CountNumber of times requests were executed out of the expected order by the WorkManager.UInt64