System Monitoring and Diagnostics Guide for Siebel eBusiness Applications > Querying System Log Files > Creating and Saving LFA Queries >

Querying Log Files for Error Messages


Use the following procedure to search log files for error messages. This command is an application of querying for literal values. See Creating and Saving LFA Queries for other options of the Log File Analyzer (LFA) query command.

To query for an error message

  • Enter:

    query query_name where literal = error_message_number

    where:

    query_name = Query command output stored in memory under this name.

    error_message_number= Error message number of interest in log files.

An example of this query command is as follows:

query errorqry where literal = SBL-ASG-00001

This command queries log files for events associated with error message number SBL-ASG-00001 and saves the output to memory under the name errorqry.

System Monitoring and Diagnostics Guide for Siebel eBusiness Applications