Cisco Systems OL-11399-01 manual Value Builders, String, Subnet Address

Page 21

Chapter 2 Using the NetFlow Collector User Interface

Configuration

String

A String key builder obtains a UTF-8 string value from a flow. It has the following attributes.

Attribute

Output name

Field

Regrex filter

Allow null value

Description

Column name in output.

ID of the field to obtain from a flow.

If specified, the regular expression is applied to the string in flow data. The first matching sequence becomes the value of the key. If the regrex contains one or more capturing groups, the first match is returned.

If not selected, an error is logged if a flow does not contain the indicated field

Subnet Address

A Subnet Address key builder obtains an IP address and mask from a flow, applies the mask to the address, and outputs a network address in the format n.n.n.n/m. It has the following attributes.

Attribute

Description

 

 

Output name

Column name in output.

 

 

Address field

ID of the address field to obtain from a flow.

 

 

Mask field

ID of the mask field to obtain from a flow.

 

 

Allow null value

If not selected, an error is logged if a flow does not

 

contain the indicated field

 

 

Value Builders

A value builder is associated with one or more fields in flow data and produces a non-key value in an aggregation record. A value builder can be referenced by an Aggregation Scheme and corresponds with one column in a NetFlow Collector output file.

Clicking on the Value Builders folder of the navigation tree displays a table of all existing value builders, as shown in Figure 2-11. Click on the appropriate link to modify or remove a value builder.

 

 

Cisco NetFlow Collector User Guide

 

 

 

 

 

 

OL-11399-01

 

 

2-21

 

 

 

 

 

Image 21
Contents Nfc-hostname8080/nfc Opt/CSCOnfc/bin/nfcollector start allCustomizing the Cisco NetFlow Collector Interface Opt/CSCOnfc/bin/webconfig.shSetting Description Default Value File NFC Login WindowNavigation Cisco NetFlow Collector User Interface Login WindowConfiguration From this window you can access or configure the following Adding Aggregators AggregatorsAdd Aggregator Window Editing an AggregatorModify Aggregator Window ThresholdsFields NetFlow Export Field Window Key Builders10 Key Builders Window Attribute Description BGP AttributeBit Field BooleanByte Array Egress PE Customer NameInteger Ingress CEInteger Range Map Interface Snmp NameIP Address IP Address Range Map Mac AddressMasked IP Address Click Add condition Multi-Field MapSite Name Option DataValue Builders StringSubnet Address 12 Adding a Value Builder Directional Sum Active TimeEnd Time Flow CountRate Max Flow Byte RateStart Time SumSum with Sampling Estimation Aggregation Schemes14 Modify Aggregation Scheme FiltersNetFlow Export Source Groups 16 NetFlow Export Source Groups NetFlow Export Source Access ListBGP Peer 18 NDE Source Access ListAdvanced GlobalReports Custom Reports Fields of the Custom Reports form are described in Table Field Value Description Single device . For Single device Combine devices , Separate devices , orAll Report TemplatesScheduled Reports Configuring Scheduled ReportsNavigate Reports Custom Reports Click Save as Template25 Scheduled Reports Window 26 Add Scheduled Report Daily Default value is /opt/CSCOnfc/ReportsPath /opt/CSCOnfc/Reports Opt/CSCOnfc/Reports/fooDisplaying Scheduled Reports 27 Scheduled Reports Folder Reporting Features28 Sample Bar Graph Sorting and Graphing29 Sample Pie Graph TrendingExport and Print FilterDrill Down Control StatisticsHealth Monitor Statistics Port Statistics Opt/CSCOnfc/config/nfcmemSourceid V9 or enginetype and engineid Source Statistics37 Viewing Logs in Web-based UI LogsOL-11399-01