How to use Log Monitor in Applicare

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

To Enable Log Analyzer in Applicare configure profiling as below

  1. Go to Overview Menu and select the server and select Configure Dynamic Instrumentation button and add the Log Analyzer Service.

  2. Go to Home > Dashboard > LogAnalyzer

  3. Configure log files/Directory to monitor/analyze by going into LogMonitor Configuration tab.

    [Screenshot 1 is not available on this page.]

    3.1 Server: At most one server must be selected from drop down to configure log files.

    3.2 File Path: Provide a log file path/folder containing log files that need to be monitored - it must be a valid path.

    3.3 Regx: It is optional. If Applicare is unable to detect the Date pattern from log file then provide the Regex of Date pattern used in files would allow Applicare to monitor those.

    3.4 Date Pattern: If Date pattern is provided then Regx must be provided. Below are the Date patterns and Regx that are auto detected by Applicare.

    3.5 Add Watcher to Directory: This would be True by default and applicable for Folders alone. If this is set to true then any new file added to this folder is picked for monitoring else only on server restart the new files for the folder will be monitored.

    3.6 Edit: This allows to Edit the Configured Log file. If path and server field are modified then updated content will be saved as new configuration else existing one would be modify.

    3.7 Delete: This allows to delete the configured log file.

  4. Once logs files are configured it would take 2-3 mins to reflect in Dashboard.

[Screenshot 2 is not available on this page.]

 4.1 _Search:_ Search filter allows to filter the log entries that match the provided search filter. For multiple combined keyword full search use single quotes at the start and end of the searchtext.

For example: Connection refused

It will filter the results if it has either Connection or refused keywords.

For example: 'Connection refused'

It will filter the results if it has the exact keyword Connection refused.

 4.2 _From and To Date_: Date filter allows to fetch all the log entries that fall between the selected date and time range.

 4.3 _Go:_ This appears as a refresh icon which acts as submit button to apply and fetch result based on the given filters.

 4.4 _Add Alert:_ This allows to add alert for particular search filter and for the particular log file in order to trigger an email/action whenever the provided search filter appeared in the log file for the next time.

 4.5 _Reset:_ This allows to clear all the provided filters.

 4.6 _Current Filter:_ This is the space to show currently applied filters with 'X' icon which provides to remove the filter.

 4.7 _Log Files:_ This lists out all the configured log files along with the Server on which they are configured. Provides the selection option by clicking on the particular log file to move into the filter.

 4.8 _By Date:_ This act as a calendar which plots the number of log entries available for a particular day, the day cell gets highlighted if entries are available on that day along with the count, on placing the mouse pointer on the highlighted day count gets a popup as a tooltip.

 4.9 _Graph:_ This plots all spikes with the log entries count ranges on the particular day provided drill down on spikes

 4.10 _Paging bar and Count display:_ This allows to select a particular page and shows the total log entries monitored and current page count.

[Screenshot 3 is not available on this page.]

4.11 Log Entries Space: This is the space where all the available log entries are shown along with the fileName and server in which the log entry available. Clicking it navigates to Viewer Tab where you can find the full stack of the particular log entry.

[Screenshot 4 is not available on this page.]

From Applicare 8 and above

Added a new feature named "Index from Current Time". With this option we can specify either to index the log files from beginning of the file or from the log configured time.

Log Monitor Configuration Screen:

  1. Index from Current Time -> "Yes". It will start indexing the log files from the log configured time.
  2. Index from Current Time -> "No". It will start indexing the log files from beginning of the log.

[Screenshot 5 is not available on this page.]

Viewing Logs in Dashboard for Index from Current Time -> "Yes"

[Screenshot 6 is not available on this page.]

Viewing Logs in Dashboard for Index from Current Time -> "No"

[Screenshot 7 is not available on this page.]

Log Analyzer Data Management.

1. Go to menu Manage Applicare Data.

[Screenshot 8 is not available on this page.]

2. Enter the Log Analyzer days value and click Save. Applicare will delete the data older than the specified timeframe.

[Screenshot 9 is not available on this page.]

Once the Data cleanup gets completed it will print the info message in the Applicare controller log.

[Screenshot 10 is not available on this page.]

Log Monitor Alert Threshold limit from Applicare 8.6.0 and above

1. We can provide the custom threshold limit while adding the log analyzer alert in the Log Analyzer -> Alert Configuration screen.

Threshold field is not mandatory. Default threshold limit is 0.

[Screenshot 11 is not available on this page.]

2. Create Alert

[Screenshot 12 is not available on this page.]

Email:

[Screenshot 13 is not available on this page.]

3. Clear Alert

[Screenshot 14 is not available on this page.]

Email:

[Screenshot 15 is not available on this page.]

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support