Skip to main content
Version: NG-2.16

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 is compatible with all versions equal to or greater than 12c.

Data Collection Method

vuSmartMaps collects health and performance data for WebLogic server using VuNet's vuAppAgent. This agent collects data based on the source configuration.

Weblogic Logs are collected by using Logbeat

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.

Firewall Requirement

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

Source IPDestination IPDestination PortProtocolDirection
IP address of the WebLogic servervuSmartMaps Data Collector End Point9092*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

  • Enable the Weblogic O11ySource.
  • Select the Sources tab and press the + button to add a new Tomcat host to be monitored.
  • Set up metrics and log collection configurations. Afterwards, select Save and Continue to proceed with downloading the agents.
  • The following packages will be available for download based on the OS:Vuappagent Install Binary - Downloads the full vuAppAgent package with required configurations for a fresh installationVuappagent config update Install Binary - Downloads the agent configuration package to update an existing vuAppAgent installationLogbeat Install Binary - Downloads the full Logbeat package with required configurations for a fresh installationLogbeat config update Install Binary - Downloads the agent configuration package to update an existing Logbeat installation
  • Download the agent installation or update package, then click Finish to close the data source window.

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)
ErrorMessageA description of an error or issue encountered by the system or applicationString
Server HealthOverall server health status.LowCardinality(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)
ApplicationNameThe name of ApplicationString
ActiveTransactionsTotalCountTotal count of active transactionsUInt32
Idle ThreadsNumber of idle execution threads.UInt32
Exec ThreadsTotal execution threads available.UInt32
Heap FreeCurrent free heap memory.Float64
Heap Free %Percentage of free heap memory.Float64
Heap MaxMaximum heap memory available.Float64
Hogging ThreadsNumber of hogging threads.UInt32
Total RequestsTotal requests processed.UInt32
Request RateNumber of requests processed per interval.UInt32
TranscationAbandonedTotalCountNumber of transactions that have been abandonedUInt32
TranscationAbandonedTotalCount_diffNumber of transactions that have been abandonedUInt32
TranscationCommittedTotalCountThe total number of transactions that have been successfully committed.UInt32
TranscationCommittedTotalCount_diffThe total number of transactions that have been successfully committed.UInt32
TranscationRolledBackTotalCountThe total number of transactions that have been rolled back.Float64
TranscationRolledBackTotalCount_diffThe total number of transactions that have been rolled back.UInt32
memoryPoolNameRefers 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
MemoryAfterGc_maxRefers to the maximum amount of memory available in the JVM heap after a garbage collection (GC) eventFloat64
MemoryAfterGc_committedRepresents the amount of memory that is committed and available immediately after a garbage collection (GC) event.Float64
MemoryAfterGc_initRefers to the initial amount of memory available immediately after a garbage collection (GC) eventFloat64
MemoryAfterGc_usedIndicates the amount of memory that is being used by the JVM immediately after a garbage collection (GC) event.Float64
MemoryBeforeGc_initThe state of memory just before GC is performed.Float64
MemoryBeforeGc_committedIndicates the memory that is allocated and reserved for application use just prior to GC.Float64
MemoryBeforeGc_maxThe highest level of memory that was available for use just prior to GC.Float64
MemoryBeforeGc_usedThe amount of memory that was in use by the JVM immediately before a garbage collection (GC) event.Float64
Memory_CodeHeap_non_nmethods_MemoryAfterGc_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_MemoryBeforeGc_usedThe amount of memory used in the compressed class space just before a garbage collection (GC) eventFloat64
Memory_Metaspace_MemoryBeforeGc_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_MemoryBeforeGc_usedAmount of memory used in the Eden Space of the JVM heap immediately before a garbage collection (GC) eventFloat64
Memory_PS_Survivor_Space_MemoryBeforeGc_usedAmount of memory used in the Survivor Space of the JVM heap before a GC event.Float64
Memory_Compressed_Class_Space_MemoryAfterGc_usedAmount of memory used in the Compressed Class Space immediately after a GC event.Float64
Memory_Code_Cache_MemoryAfterGc_usedAmount of memory used in the Code Cache (for JIT-compiled code) immediately after a GC event.Float64
Memory_PS_Eden_Space_MemoryAfterGc_usedAmount of memory used in the Eden Space immediately after a GC event.Float64
Memory_PS_Old_Gen_MemoryBeforeGc_usedAmount of memory used in the Old Generation of the JVM heap immediately before a GC event.Float64
Memory_PS_Survivor_Space_MemoryAfterGc_usedAmount of memory used in the Survivor Space immediately after a GC event.Float64
Memory_PS_Old_Gen_MemoryAfterGc_usedAmount of memory used in the Old Generation immediately after a GC event.Float64
Memory_Metaspace_MemoryAfterGc_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 ThreadsNumber of stuck threads.UInt32
CollectionCountTotal number of garbage collection (GC) events that have occurred. This metric helps assess the frequency of garbage collections.UInt32
GC Count DeltaChange in GC event count per interval.UInt32
CollectionTimeTotal time spent performing garbage collections. This metric helps assess the impact of GC on application performanceUInt32
GC Time DeltaChange in garbage collection time per interval.UInt32
JMS HealthHealth status of JMS subsystem.LowCardinality(String)
JTA HealthHealth status of JTA subsystem.LowCardinality(String)
App HealthOverall application health status.LowCardinality(String)
MemoryUsage_HeapMemoryUsage_committedRepresents the amount of heap memory that the JVM has committed and is available for use by the application.Float64
MemoryUsage_HeapMemoryUsage_initIndicates the initial amount of heap memory allocated by the JVM when it starts.Float64
MemoryUsage_HeapMemoryUsage_maxRepresents the maximum amount of heap memory that the JVM is allowed to use.Float64
Heap UsedHeap memory currently in use.Float64
MemoryUsage_NonHeapMemoryUsage_committedRepresents the amount of non-heap memory committed by the JVM and available for use.Float64
MemoryUsage_NonHeapMemoryUsage_initIndicates the initial amount of non-heap memory allocated by the JVM when it starts.Float64
MemoryUsage_NonHeapMemoryUsage_maxRepresents the maximum amount of non-heap memory that the JVM is allowed to useFloat64
Non-Heap UsedNon-heap memory currently in use.Float64
applicationIPThe IP address of the application making the connection.String
listenAddressThe network address where the server is listening for connections.String
ConnectionDelayTimeThe 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
Active ConnectionsCurrent active connections.Float64
Leaked ConnectionsConnections not closed properly.Float64
CurrCapacityHighCountThe maximum capacity utilization recorded for a resource.Float64
CurrCapacityThe current capacity utilization of the resource.Float64
MessagesReceivedCountThe total number of messages received by the system.Float64
MessagesHighCountThe highest number of messages received in a given time period.Float64
MessagesCurrentCountThe number of messages currently being processed.Float64
Pending MessagesMessages waiting to be processed.Float64
Active ConsumersCurrent active message consumers.Float64
ConsumersHighCountThe highest number of consumers recorded during operation.Float64
DestinationTypeThe 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
HTTP StatusHTTP response status code for error tracking.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
Response TimeRequest processing time.Float64
listenPortrefers to the TCP port number on which a server instance listens for incoming client requestsUInt64
Open SocketsCurrent open socket connections.UInt64
applicationportdefines the primary network port used by WebLogic Server to accept application traffic.UInt64
CurrentRequestThe request that the thread is currently processingString
WorkManagerNameSpecifies 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 RequestsTotal service requests handled.UInt64