Application Management

 


Eat BEA WebLogic® server logs

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

Eat BEA WebLogic® server logs

Part of what we'd like to provide over time is information about logging for common components of distributed applications.

The WebLogic logging infrastructure supports a logger on each server which collects the log events generated by your own applications and subsystems. By default, WebLogic logging services use an implementation based on the Java Logging APIs. You can implement logging in a variety of other ways, either via internal WebLogic tools, or using Log4J or the Commons API. For information on configuring WebLogic logging services, see the following documentation on the Oracle website:

This topic lists the locations of the main types of logs produced by a WebLogic implementation.

WebLogic server logs

Splunk recognizes the WebLogic server log format as one of Splunk's pretrained sourcetypes. To eat these logs, monitor these files and assign them the Splunk sourcetype weblogic_stdout. The server files can be monitored in one of two locations:

Here is an example of a message in the server log file.

####<Sept 22, 2004 10:46:51 AM EST> <Notice> <WebLogicServer> <MyComputer> <examplesServer> <main> <<WLS Kernel>> <> <null> <1080575211904> <BEA-000360> <Server started in RUNNING mode>

Additional logs

WebLogic configuration file

The config.xml file, located in the domain directory, is a persistent store for the managed objects that WebLogic Server creates and modifies during execution. The purpose of config.xml is to store changes to managed objects so that they are available when WebLogic Server is restarted. You normally use the Administration Console to configure WebLogic Server's manageable objects and services and allow WebLogic Server to maintain the config.xml file. See WebLogic Server Configuration Reference on the Oracle website for information on config.xml.

You can use Splunk's fschange functionality to monitor config.xml and write an event to Splunk whenever the file changes. See Configuration monitoring in this manual for an example of how to set up fschange.

Note: BEA WebLogic and BEA WebLogic Server are trademarks or registered trademarks of BEA Systems, Inc.

This documentation applies to the following versions of Splunk: 4.1 , 4.1.1 , 4.1.2 , 4.1.3 , 4.1.4 , 4.1.5 , 4.1.6 , 4.1.7 , 4.1.8 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!