Specifying values and actions in an input file
You can create an input text file to specify the event IDs or text strings that you want the BlackBerry Enterprise Service 10 Log Monitoring Tool to find in a log file, and the actions that you want the tool to perform when it finds the specified values. You use the -input parameter to specify the input file when you run the tool from the command prompt.
The input file uses the following format:
action=<action> <eventID> <string>
You first specify the action that you want the tool to perform (for example, run a batch file), and then specify a list of the event IDs or text strings that you want the tool to find. When the tool finds one of the specified event IDs or text strings, it performs the action. When the tool finds an action line, the tool identifies it as the current action to perform when it finds the event IDs or text strings that follow it. You can add multiple actions and associated event IDs and text strings to the input file.
You specify actions in the input file using the following format: action=<action>. For example, if the action is to run a batch file, you specify the name of the .bat file as the action: action=example.bat. You can specify any standard actions that the Windows command prompt supports.
You specify event IDs or text strings as text values or regular expressions. The tool treats input lines that contain exactly five digits or six digits as event IDs and searches for the event IDs. If you want the tool to monitor multiple event IDs, you must use a comma-separated ( , ) list. The tool treats text strings as regular expressions that are not case-sensitive.
Was this information helpful? Send us your comments.