-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Create SNMP log

Create SNMP log filters

Before you begin


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

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, under Domain Structure, expand Diagnostics and select SNMP.

  3. On the Summary of SNMP Agents page, in the Server SNMP Agents table, click the name of an SNMP agent.

  4. On the SNMP Agent: Configuration: General page, click the Log Filters sub-tab.

  5. On the SNMP Log Filters page, click New.

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

  6. On the Create a new SNMP Log Filter page, enter a log filter name, then click OK.

  7. On the SNMP Log Filters page, click the new log filter name.

  8. On the SNMP Log Filters: General page, enter criteria that cause the SNMP agent to generate notifications.

    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 notification 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 generate notifications when the Security Service generates any message, in the Severity field enter Info, and in the Subsystem Names field enter Security.

  9. 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

If you plan to target the SNMP agent that contains this log filter to the Administration Server, specify on which servers in the domain you want this log filter to listen. See Target attribute changes. } } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i