Siebel System Monitoring and Diagnostics Guide > 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. For other options of the Log File Analyzer (LFA) query command, see Creating and Saving LFA Queries.

To query for an error message

  • Enter:

    query query_name where literal = error_message_number

    where:

    • query_name is the query command output stored in memory under this name.
    • error_message_number is the 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.

Siebel System Monitoring and Diagnostics Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.