Viewing pfSense Logs in Wazuh
This guide shows how to search, filter, save, and visualize pfSense logs in the Wazuh Dashboard.
Searching Logs in Discover
- Click the hamburger menu in the top left.
- Expand the 'Explore' menu.
- Select 'Discover'.
- Select
wazuh-alerts-*from the Index Pattern/Data View dropdown. - In the search bar, enter:
pfsense
- Press Enter.
You should now see logs provided by pfSense to Wazuh.
If no logs appear, check the time range selector in the upper-right corner and expand the time range, such as Last 24 hours.
Organizing Log Data
You can select fields from the left-hand menu to organize the data you want to view. Once fields are added, you can apply filters to refine the results.
Useful fields may include source IP, destination IP, action, and destination port.
Example searches:
action:block
destination.port:53
source.ip:192.168.1.100
Saving a Search
- Once you have created a useful view, click 'Save' in the top right.
- Enter a name for the saved search.
- Click 'Save'.
Saved searches can be reused later and can also be added to dashboards or visualizations.