A web-based visualization tool that enhances rule hit counter reports by providing an intuitive graphical interface to display rule information and hit counts.
This web application is an extension of the CLI version of Rule Hit Counter Report Plus. It provides a visual representation of rule relationships and hit counts, making it easier to understand rule patterns and traffic flows.
-
Export rules using Workloader:
./workloader rule-export
-
Generate a rule hit counter report from your PCE
-
Access the web interface and upload both files:
- The rule hit counter report CSV
- The exported rules CSV
-
The tool will generate:
- A visual representation of your rules
- A downloadable enhanced CSV file
- Extra-Scope Label: Indicates rules with unscoped consumers
- All Workloads: Shows when a rule applies to all workloads (source or destination)
- Labels: Displays role labels (R:) and location labels (L:)
- Label Groups: Shows groups of labels, displayed in brackets []
- Exclusions: Indicates excluded labels or groups (shown with strikethrough)
- Hit Counts: Displays the number of times each rule was matched
The visualization is based on the following CSV fields:
unscoped_consumers: Determines Extra-Scope label displaysrc_all_workloads,dst_all_workloads: Controls All Workloads label displaysrc_labels,dst_labels: Shows regular labelssrc_labels_exclusions,dst_labels_exclusions: Shows excluded labelssrc_label_groups,dst_label_groups: Shows label groupssrc_label_groups_exclusions,dst_label_groups_exclusions: Shows excluded label groupssrc_iplists,dst_iplists: Displays IP list informationrule_hit_count: Shows the number of hits for each rule
- Interactive web interface
- Visual representation of rule relationships
- Automatic CSV enhancement
- Support for all rule types and labels
- Clear visualization of rule patterns and traffic flows
- Override deny rules are not currently supported (same limitation as CLI version)
- Browser-based visualization requires modern web browser support
- Large rule sets may require longer loading times
For CLI version functionality, please refer to the CLI tool documentation.
This part demonstrates how to upload the rule hit counter report and exported rules files:

