Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Create SNMP log filters

Before you begin

- Configure the SNMP agent
- Create trap destinations

An SNMP log filter configures the WebLogic SNMP agent to listen for log messages that a server instance broadcasts. When the agent receives a message, it generates an SNMP log notification trap.

To create a log filter:

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
2. In the Administration Console, expand Diagnostics > SNMP Agent and select Log Filters.
3. On the SNMP Log Filters page, click New.

   Note: Once you create a log filter, you cannot rename it. Instead, you must delete it and create another one that uses the new name.

4. On the Create a new SNMP Log Filter page, enter a log filter name, then click OK.
5. On the SNMP Log Filters page, click the new log filter name.
6. On the SNMP Log Filters: General page, enter criteria that cause the SNMP agent to generate notification traps.

   The fields on this page correspond to fields within WebLogic Server log messages. For more information about these fields, refer to Configuration Options.

   For example, any time you change the configuration of a server instance, the server prints a log message with a message ID of `BEA-140009` and severity `INFO`. (You can see this message ID and severity level by changing a value in the Administration Console and then viewing the server's log file. For more information, refer to View server logs.)

   If you want WebLogic Server to generate a trap when a server instance prints this log message, in the Severity field enter `INFO`, and in the Message ID field, enter `BEA-140009` or `140009`.

   Or, if you want the SNMP agent to receive all log messages from the Security Service, in the Severity field enter `Info`, and in the Subsystem Names field enter `Security`.

7. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
   Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

Target the log filter to one or more servers. See Target SNMP log filters.

You do not need to restart the Administration Server after you create a log filter. However, if you change a log filter's configuration after you create it, you must restart the Administration Server.