Create search criteria
- Last Updated: June 26, 2019
- 3 minute read
- OpenEdge
- Version 13.0
- Documentation
You create the search criteria phrases to be accessed by and shared among several log file monitors from the OpenEdge Management library. These search criteria phrases, along with the severity level and alert detail you define, are the rule properties you use to create log file resource monitor rules and rule sets.
You can use the search criteria that you create and store at the library level in multiple log file monitors simultaneously. You can also share search criteria by exporting it from or importing it to other machines. For details about importing and exporting search criteria, see Export and import in OpenEdge Management.
Within your work environment, it is important for you to know when a database is unexpectedly down. Perhaps the effectiveness of your company's operations have suffered lately due to unplanned database down time. Obtaining information from the log file about these events can help you better research the issue.
To help you assess what might be happening, you can set up a literal search for the words database down. Once you enable the search against the log file, OpenEdge Management checks the file for an occurrence of the phrase, based on your polling cycle, and reports on its findings.
You must provide values for the Search Type and the Search Text fields on the Create Search Criterion page. The Search Type is a drop-down list. Depending on the type of expression you enter in the Search Type field, select either the literal search string or Perl 5 regular expression option. In the Search Text field, you enter the specific value for the type of expression you selected.
Another example of a literal text string you might search for in a log file is abnormal shutdown. A search based on this value yields a match only if the exact expression abnormal shutdown is found in the file. In contrast, a Perl 5 regular expression search supports a variety of notations that you can use for pattern matching, potentially yielding broader search results.
To create a search criterion: