The Metric Explorer is a tool for creating and editing charts, which lets you construct dynamic visualizations of device and network behavior.
With the Metric Explorer, you can edit chart components, such as sources, metrics, and data calculations, and then preview how metric data appears in different chart types. When you are satisfied with your selections, save your chart to a dashboard.
The following steps show you the basic workflow and minimum requirements for completing a new chart.
Click Add Source and then select a source.
- You can select a static source for the chart by typing the name of an application, device, or network.
- You can also select a dynamic source that can be dynamically modified by dashboard viewers by typing $ and selecting a variable from the Source Type Variable list. For more information about source type variables and dashboard templates, see Create a dashboard with dynamic sources.
- Select the source from the list of results.
In the Metrics field, type a protocol and metric name. Then select the metric
from the list of results, as shown in the following figure.
Select a chart from the bottom of the Metric Explorer, as shown in the
- (Optional): Click the drop-down link below the metric name to display a count or rate or percentile.
Complete one of the following steps:
- Click Save when creating or editing a chart from a dashboard. Your dashboard is updated with your basic chart.
- Click Add to Dashboard when creating or editing a chart from a protocol page. Then select an existing dashboard from the list, or select Create Dashboard.
Depending on the metrics and chart type you select, you can configure advanced options for creating sophisticated visualizations with the Metric Explorer, as shown in the following figure.
- Convert metric data from bytes to bits
- Convert metric data from base 2 (Ki=1024) to base 10 (K = 1000)
- Change the y-axis in a time-series chart from linear to log scale
- Abbreviate metric values in a chart (for example, abbreviate 16,130,542 bytes to 16.1 MB)
- Sort metric data in ascending or descending order in a bar, list, or value chart
- Change the percentile precision in a pie chart
- Hide or display a chart legend
- Hide inactive metrics with a zero value so that these metrics are not visible in the chart, including the legend and label
- Include sparkline in a list or value chart
- Show the alert status for data displayed in list or value charts (for more information, see Alerts)
- Switch the color display for metric data to grayscale (with exception to charts that display an alert status)
- For IP address labels, display the hostname (if detected from DNS traffic in wire data) or origin IP address (if a proxy is detected from wire data)
- Show the relative time for an expiration date, such as the number of days until an SSL certificate expires.
|Note:||Some options are only available for specific chart types. For example, the option to include a sparkline only appears in the Options tab for list and value charts.|
Filter your search results by writing regular expression (regex) strings in certain search fields throughout the ExtraHop Web UI. For example, you can filter for parameters in a detail metric key, such as a number within an IP address. You can also filter by excluding specific keys or combination of keys from charts.
- Search fields with an asterisk
- Click the asterisk in the field to enable regex strings.
This type of field is available from the following system pages:
- Filtering a table of devices
- Creating filter criteria for a dynamic device group
- Certain search fields with a trifield operator
- Click the operator drop-down to see the regex option.
This type of field is available from the following system page:
- Editing a chart in Metric Explorer
- Certain search fields with a tooltip
- Hover over the tooltip in the field to see the regex option.
This type of field is available from the following system page:
- Creating a threshold alert
The following table includes examples of standard regex syntax.
|Chart Scenario||Regex filter||How it works|
|Compare HTTP status codes 200 to 404.||(200|404)||Matches 200 and 404 codes where the | symbol serves as an OR function.|
|Display any HTTP status code that contains a 4.||||Matches any value that contains a 4. For example, this filter can return 204 and 400 status codes.|
|Display all 500-level HTTP status codes.||^||Matches any value that begins with a 5. For example, this filter can return 500 and 502 status codes.|
|Display all 400 and 500-level HTTP status codes.||^||Matches all values that begin with a 4 or 5. For example, this filter can return 400, 403, and 500 status codes.|
|Display any HTTP status codes except 200-level status codes.||^(?!2)||Matches all values except values beginning with a 2, where ^(?!) specifies the range of results to exclude. For example, this filter can return 400, 500, and 302 status codes.|
|Display any IP address with a 187.||187.||Matches 1, 8, and 7 characters in the IP address.|
|Review all IP addresses containing 187.18.||187\.18\.||Matches 187 and the character . that follows the 187. For example, this filter returns results for 18.104.22.168.0, 22.214.171.124.0, or 126.96.36.199.0/16.|
|Display any IP address except 188.8.131.52.||[^184.108.40.206]||Matches anything except 220.127.116.11, where [^] specifies the exact value to exclude.|
|Exclude a list of specific IP addresses||[^18.104.22.168|22.214.171.124|126.96.36.199]||Matches anything except 188.8.131.52, 184.108.40.206, and 220.127.116.11, where the | symbol serves as an OR function and [^] specifies the exact values to exclude.|
When you create a custom detail metric from the Metric Catalog, you can add advanced regex syntax to the Additional Filters search field in the Record Relationships section.
The regex syntax in this field must meet the following requirements:
- If your key contains multiple values, your regex syntax must include a
single capture group. A capture group is designated by parenthesis. Your
capture group determines the filter value.
- If you want to return a specific value from a detail metric key that
contains multiple record field values, the regex must follow this syntax:
For example, if your detail metric key is ipaddr:host:cipher and you only want to return the IP address value, you would type the following:
- If your key contains multiple record field values, the values are separated by a delimiter that is specified in the trigger that is generating the key. The placement of the delimiters in your regex syntax must match the delimiters in the detail key. For example, if you have a key with three values that are separated by a delimiter that is a colon, the three values for the key in your regex syntax must be separated by two colons.
|Tip:||If you want to return all record field values in a detail metric key, type $KEY. For example, if your detail metric key is ipaddr:host:cipher, type $KEY in the search field to return all three of those field record values (IP address, hostname, and SSL cipher suite).|