Creating Log Visualizations
This guide provides a brief overview of creating visualizations using log data from pfSense.
Adding a Saved Search to a Dashboard
- Click the hamburger menu.
- Expand the 'Explore' menu.
- Select 'Dashboards'.
- Open the dashboard you want to edit.
- Click 'Edit' if the dashboard is not already in edit mode.
- Click 'Add' in the top right.
- Select your saved search from the list.
- Once it appears on the dashboard, click 'Save'.
Creating Visualizations
You can also turn pfSense log data into charts and graphs.
- Open the dashboard you want to edit.
- Click 'Edit' in the top right.
- Click 'Add'.
- Click '+ Create New'.
- Select 'Visualization'.
- Select your preferred visualization type.
- Select one of your saved searches as the data source.
Example: Firewall Blocks Over Time
This example displays firewall block events over time. Depending on the visualization type, the Y-axis may already be configured.
- Under 'Buckets', click '+ Add'.
- Select 'X-axis'.
- Under the 'Aggregation' dropdown, select 'Date Histogram'.
- Click 'Update'.
- If the preview looks correct, click 'Save' in the top right.
You now have firewall activity displayed over time.
Customizing Dashboard Layout
- Drag panels using the top section of each widget.
- Resize panels using the lower-right corner.
- Arrange the dashboard layout as desired.
- Click 'Save' in the top right when finished.
Example Dashboard Ideas
Useful pfSense visualizations to build include firewall blocks over time, top source IPs, top destination ports, DNS requests, and VPN authentication events.
Recommended Starting Point
- Save a firewall events search.
- Add it to a dashboard.
- Build a Date Histogram visualization.
- Add more searches over time.
This approach makes it easier to grow your dashboard without becoming overwhelmed.