Each macro can consist of sub-macros, and each macro can bind a substring to a label. You can think of a grok pattern as a regexe with macros. See Dropwizard documentation for details. There are three supported modes of aggregation: counters, gauges, and histograms. Through valueLabel, you can specify which part of the log line contains the metrics to send. Log lines are given structure with java-grok, which is the syntax for the Logstash grok plugin. This configuration file is parsed as a POJO see the javadoc for more details on each field. In your Wavefront proxy configuration file, add these new entries:ĪggregationIntervalSeconds : 5 # Metrics are aggregated and sent at this interval counters : - pattern : ' % seconds' metricName : ' myOperationDuration' valueLabel : ' duration' Configuring the Wavefront Proxy to Listen for Log Data The example is merely a starting point- so you understand how to ingest metrics from any log format. In this example, we configure VMware Aria Operations for Applications to parse Combined Apache Logs, which is a common logging format for many web services (for example, NGiNX). ![]()
0 Comments
Leave a Reply. |