Log file

The log file Monitor allows you to monitor any type of log files (.txt) generated by your machine’s operating system. By configuring the log file monitor, you can receive the following outputs:

  • Number of lines processed
  • Number of regular expression matches found in the processed lines

Adding a log file monitor

Before proceeding, please ensure that you have created the component and that your Anturis private agent for Windows/Linux is running.
  1. On the Component page, click Add/Remove Monitors > Add Custom Monitor.
  2. Select the Local Resources Monitors tab and Software sub tab view.
  3. Select Log File and click Next.
  4. Select a server from the list and click Next.
  5. Enter the Log file path.
  6. Under Count Expression enter the string or regular expression to look it up.
  7. Enter the Expression Syntax, if needed.
  8. Select Rolling file if you want to read the file from the last marked string.
  9. Select Read Whole file if you want to read the log file from the beginning.
  10. [Optional] Select the Valid amount of found expression attribute; choose the interval type and set the values for the chosen interval.
  11. [Optional] Select the Look for marker attribute and enter the expression under Expression; select Found in or Not found in under Expected and choose the expression syntax from the drop-down menu.
  12. Enter a Monitor Name and set consecutive measurements.
  13. Click Next.
  14. On the Monitor test result step, click Next when the test is passed.
  15. Click Finish.

To manage your monitor, click View/Edit parameters.