rule-files:
-
"*.rules"
# Global stats configuration
stats:
enabled:
no # Linux high speed capture support
af-packet:
- interface:
enp0s3
"interface" represents the network interface you want to monitor. Replace the value with the interface name of the Ubuntu endpoint. For example, enp0s3, for UBUNTU it might be eth0.
You can check it with "ip a" or "ip add".
Use "if config" to check the output shown in the image below:
After checking "if config" you can "Restart the Suricata service" using "sudo systemctl restart suricata".
Wazuh automatically parses data from /var/log/suricata/eve.json and generates related alerts on the Wazuh dashboard.
You can Ping the Ubuntu endpoint IP address from the Wazuh server:
ping -c 20 "<UBUNTU_IP>"
After a successful ping, you will receive alerts as given in below image:
