CEF integration not ingesting #14310
-
Version2.4.120 Installation MethodSecurity Onion ISO image Descriptionother (please provide detail below) Installation TypeDistributed Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPUlots RAMlots Storage for /lots Storage for /nsmlots Network Traffic Collectionother (please provide detail below) Network Traffic Speeds1Gbps to 10Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailI've added the CEF integration per these instructions. In the CEF module I defined the udp 9003 and tcp 9004 ports, and changed localhost to 0.0.0.0 per the instructions. I've got it tied to the FleetServer policy per the instructions. All shows running and Healthy. I've configured the Firewall customportgroup0 to allow udp 9003 and tcp 9004, and customhostgroup0 to allow 0.0.0.0/0 I've got my source system sending it's CEF logs to Security Onion. I can easily switch between udp 9003 or tcp 9004. The SO system doesn't seem to be ingesting the data. I can see traffic happening via the zeek.conn logs, and I can run netstat from the terminal and the ports are listening properly. Running tcpdump shows the traffic is hitting the interface, but I've been banging away at this all day and no matter what I do or which ports/protocols I use, I'm not getting traffic ingested into the CEF pipeline. If I send from the source to SO over Syslog port 514 the data gets ingested via the syslog pipeline as expected. The reason I'm attempting to get CEF working is because the data ingested via syslog is not being parsed correctly and I'm hoping to get better results with CEF. Also, this is my first integration attempt and if it works I'll have a baseline of knowledge to setup some others. I feel like things are very close to working, but there's a disconnect somewhere that I'm not understanding. Any advice would be appreciated. Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
"I've configured the Firewall customportgroup0 to allow udp 9003 and tcp 9004, and customhostgroup0 to allow 0.0.0.0/0" Did you also set customhostgroup0 to use customportgroup0 in the proper system role? |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing me there. I hadn't done that. I followed the instructions and navigated to firewall> role> idh> chain> DOCKER-USER> hostgroups> customhostgroup0> portgroups> chose my Manager> entered customportgroup0 Tested and Hunted for the traffic and am still only seeing zeek.conn traffic. Nothing being ingested by a CEF pipeline. I thought maybe the DOCKER-USER menu category might not be correct, so I navigated to firewall> role> idh> chain> INPUT> hostgroups> customhostgroup0> portgroups> chose my Manager> entered customportgroup0 Same results. I see only zeek.conn traffic. Nothing being ingested by a CEF pipeline. I've tried both udp 9003 and tcp 9004 without success. The zeek logs see the incoming tcp requests and say there is no reply. |
Beta Was this translation helpful? Give feedback.
-
I wanted to close the loop on this discussion and say that I got it working. Here's the instructions. These instructions will allow the 'Receiver' node to accept incoming CEF formatted logs. If you want a different grid node to be defined, adjust accordingly.
|
Beta Was this translation helpful? Give feedback.
I wanted to close the loop on this discussion and say that I got it working. Here's the instructions.
These instructions will allow the 'Receiver' node to accept incoming CEF formatted logs. If you want a different grid node to be defined, adjust accordingly.
Open 'Elastic Fleet' from SO sidebar.
Open 'Integrations' from Elastic sidebar.
Find the 'CEF' integration.
Click 'Add Common Event Format (CEF)' blue button from top right.
Set the following settings:
input: udp Syslog Host 0.0.0.0
Syslog Port 9003
input: tcp Syslog Host 0.0.0.0
Syslog Port 9004
Existing hosts Agent policies so-grid-nodes_general
'Save and continue'
'Save and deploy changes'
Open 'Administration> Configuration> …