Change File for Label: instanceName dialog box
With the Change File for Label: instanceName dialog box, you can change the monitoring properties for the text file or the XML file. To access this dialog box, navigate to Modify > Default Setting from the LOGT application class menu. For more information about accessing application class menus, see Accessing KM menu commands.
Procedures related to this dialog box
Items on this dialog box
Item | Description |
---|---|
File/Pipe Name | displays the full path and name of the file, script, binary, or named pipe being monitored |
Logical Name | displays the logical name for the LOGMON instance that you want to change. |
Contains Environmental Variables | Select this check box to enter a path defined by an environment variable that is resolved at runtime. For example, if you enter %HOME%/log.txt in the File/Pipe Name text box and select this check box, the KM substitutes the path defined by %HOME%. If the box is unchecked, the KM tries to find a path called %HOME%. |
File Type | specifies the file type that you selected from the Text File, Script, Named Pipe, XML File or Binary File type options. |
Filter Program | If the file type is Binary File, this text box specifies a filter program to read the monitored binary. |
Always Read at Beginning | Select this check box if you want the product to always read the entire binary file, rather than just the information added since the last time the file was scanned. |
File Disposition | If multiple files match the File/Pipe name (for example, if you use a regular expression), select whether you want to monitor only the Latest file or All of the files. |
Generate Alarm if File not modified in | Select this check box if you want the LOGMON instance to ALARM if the monitored file is not modified periodically. |
Minutes | When the Generate Alarm if File not modified check box is selected, this text box specifies the time in minutes after which an alarm will occur if the file is not modified. |
Default setting for search criteria | This section in the dialog box displays the defined search criteria settings at the global level. These are default settings and are common to all the search criteria, unless you override the same for a search criterion in the Configure Search Criteria: instanceName dialog box. |
Threshold #1 | displays the number of search string matches that must occur before producing a specified state |
State | specifies the state that the KM will exhibit when the Threshold-Match Count value is reached - None, OK, Warn, or Alarm |
Threshold #2 | If you want the KM to exhibit a second state when a different number of search strings occurs, enter the number of matched search strings in this text box. For example, if you set the Threshold #1 to alarm when 3 occurences of the search string are found and you want the KM to warn when 1 occurrence of the search string is found, enter 1 in the Threshold #2 text box. |
State | specifies the state that the KM will exhibit when the Threshold#2 value is reached - None, OK, Warn, or Alarm |
Custom Event Message | (optional) specifies the message text that you want displayed when your search string conditions are satisfied |
Custom Event Origin | specifies the customized origin for events |
Ignore duplicate events for next ... Minutes | specifies an interval in minutes during which the product does not generate an event after the first match and its corresponding event |
Number of Lines in Log Entry | specifies the the number of lines that you want to be displayed when a match is found |
Nullify Alarm/Warn String | displays the string that is used to nullify the alarm for the dual-search feature |
Once closing root-tag is found, Delete instance after… Minutes | specifies an interval in minutes during which the product does not delete an instance even if the closing root-tag is found. |
Return to OK if no match found on next scan | indicates whether the KM state returns to OK if the search conditions are not met on the next scan |
Scan Priority | displays the scan priority for the file |
Accept | Click this button to save the properties and close the dialog box. |
Cancel | Click this button to close the dialog box. |
Related topics