Log Monitoring

Cavisson NetForest is the next-generation log monitoring and analysis software that makes use of server logs to troubleshoot performance issues and understand user behavior. NetForest allows its users to slice and dice machine-generated Big Data for decision-making insights. Following are some of the key features of NetForest:

  • Real-time collection of logs from various sources.
  • Parse raw logs into meaningful fields.
  • Powerful visualization of data in a meaningful, easy-to-consume format.
  • Scalability – horizontally.
  • Automatic replication of data in clusters, nodes, and shards.
  • Fast and powerful search – millions of log lines within a couple of seconds in real-time.
  • Support for multiple complex query struts comprising arithmetic, logical expressions, and regular expressions across multiple fields.
  • Support of alert, monitoring, and reporting.

Capabilities

Cavisson NetForest is an enterprise-scale fully integrated software product for comprehensive log monitoring and analysis. NetForest’s ability to integrate seamlessly with other products including NetDiagnostics makes it unique to diagnose performance issues and optimize applications before it impacts customers or revenue.

Cavisson NetForest supports a wide range of commonly used application servers along with their log format and structure. The user-friendly intuitive graphical interface with reporting and analytical dashboard allows users to visualize data and get answers to the mysteries hidden within the raw log data.

Why NetForest?

  • Full-text search and visualization product for log analysis.
  • Powerful Big-data visualization with the use of aggregation capabilities.
  • Clustering of nodes, data distribution, and replication for scaling and redundancy.
  • Data correlation and diagnostics via seamless integration with Cavisson products e.g. NetDiagnostics and NetVision.

 

 

Features

The following key features complement the comprehensiveness in terms of log monitoring:

Indexing and Query Language Support

  • Create an index on each term so that any term can be searched in a sub-second response time.
  • Parse of any kind of log indexed with key fields, extracted into fields on which query/filtering can be done.
  • Support Query language – simple syntax as well as a more powerful JSON-based syntax.

Data Aggregation and Powerful Visualization

  • Easy aggregation of data as per visualization needs and presentation using various kinds of charts – line/bar/pie/geo/metric.
  • Slice and dice data based on time window, any series/graph, or term – the same filter applies to all widgets on the dashboard.

Seamless Integration Capabilities

  • Seamless tracking of web transactions over various tier servers and their logs for any problem analysis.
  • Correlating data between NetDiagnostics and NetForest with single click operations.

Node Clustering and Load Distribution

  • Auto discovery of clustering nodes, the addition of new nodes, and load redistribution.
  • Data partitioning across shards and data replication across cluster nodes to provide redundancy in case of node failure.
  • Indexing and search query load distribution and cumulative data compilation for fast query response.

 

Enhancements

  • NetForest | NFAgent | Tag and Attributes support: Tags and attributes are two different things, in which Tags are labels used for organizing an entity’s metrics data time series, and attributes are key/value pairs used for defining extra information for entities.

Tags and Attributes Syntax: –

Tags=” key=<value>,key=<value>”

Attributes=” key=<value>, key=<value>”

value will be as follows: –

tags and attributes will be added to the document as like,

“tags”: {

         “MIN_SLEEP”: “20”,

         “UPPER_LIMIT”:”3600”

},

“attributes”: {

         “Tier”:” tier”,

         “Env”:” env

}

 

  • Loki Support for MVCOMBINE Construct, NOMV Construct, and MVEXPAND Construct
  • MVCombine Construct: This construct is used to group multiple events, which are identical except for the specified field, which contains a single value. The resultant of this operation is a single event in which the specified field becomes a multi-value field.

Syntax:

…|mvcombine <field_name>

  • NOMV Construct: This construct is used to convert a multivalue field into a single value field.

   Syntax:

          …|nomv

           <field_name>

     Here <field_name> is a field, which is required to convert into a single value.

  • Mvexpand Construct: This construct is used to expand values of a multi-value field into separate events, such that the result contains one event for each value in the multi-value field.

             Syntax:

              …|mvexpand <field_name>

  • Support for creating log metric monitor by selecting strings from logs

This feature helps to create a log metric monitor from the Logs screen by selecting some string/text from the message or any other fields. The user selects some value/text from any fields and one popup menu opens for Log Monitor. The user clicks on the Log Monitor menu and it redirects to the log metric monitor configuration screen which displays the selected screen on the query box.

  • Single maxdoc endpoint for all nfdb requests

With this feature, all the nfdb requests will be handled by a single endpoint making nfdb more flexible and reducing confusion regarding which endpoint to use for certain requests. Before this enhancement two endpoints were being used, one for processing 10,000 documents and another one to process greater than 10,000 documents.

 

  • Implementation of aggregation Log Display for maxdoc flow

Display unique logs to users, so the user can easily see the last unique logs with their similar log count value or he can see similar logs for the particular unique log key as well. Until now this feature was implemented for msearch requests only. But now it can be used with maxdocs and large datasets also.

  • Priority-based reading of environment variables from different files in nfforwarder

In windows, it reads the value of environment variables from the system environment and some other environment files in a set order of priority.

That is the value of a field will be taken from a higher-priority file instead of a lower-priority file if that field is declared in both files.

 This is the set order of priority -> system environment -> cmon.env -> jvm. options -> cmon. properties -> nf.env

 

 

Integration with other Cavisson Products

Just like other Cavisson products, what makes NetForest unique is its ability to integrate with the rest of the Cavisson products for extensibility. This also results in achieving end-to-end enterprise monitoring capability.

With NetDiagnostics

  • One can click on access from NF to the corresponding transaction dashboard in NDE.
  • One can click access from NDE transaction dashboard to NF logs for the server in any tier.
Figure 1: Integration with NetDiagnostics

With NetVision

  • Get transaction real user performance view from NetVision for any log of a transaction.
  • Replay User session to understand the impact on user experience for errors in the backend.
Figure 2: Integration with NetVision

NF-ND-NV Integration

The server logs, such as access logs and error logs, which are captured in NetForest, can be drilled down further to get additional important information about every request. By doing this, you can have a better understanding of how the application works. You can find the errors and check if the services are running properly.

Integration with ND

To integrate NF and ND, do the following:

  1. Log on to NetForest and go to any log.
  2. Click the Open Transaction by FPI icon next to the log.
Figure 3: Open Transaction by FPI Icon

Note: This integrates NF and ND, and you are navigated to the Flowpath Report.

Integration with NV

NetVision Page Detail Report: On clicking the Open NetVision Timing FPI  icon, NF is integrated with NV and the system navigates you to NetVision’s page detail report.

Figure 4: Open NetVision Timing FPI Icon

NetVision Session Replay: On clicking the Open NetVision Replay FPI  icon, NF is integrated with NV and the system navigates you to NetVision’s session replay.

Figure 5: Open NetVision Replay FPI Icon

System Configuration for NF Server

Following configuration is required for the NF server:

  • CPU 32*1200.
  • HDD 4*4T.
  • RAM 16*16G.     

Deployment Architecture

Figure 6: Deployment Architecture

The above diagram explains a high-level deployment architecture of NetForest along with NetDiagnostics integration.

In App server, ND Agent hooks in the Log interface in JVM add integration information such as flow path Id to the logs. At the same time, it also provides a lot of other monitoring data to NDE. NF Agent reads the log file and provides the data to NetForest server. NetForest server parses the log data via the log index interface and stores the processed data. Cavisson user interacts with NF server via a web user interface from where the user can send a query to the NetForest server and get the results. For diagnostics, NDE connects to NetForest for diagnostics analysis via an integration interface.  NetForest agent communicates to the NF server on port number 7899 (configurable). This communication happens over HTTP.