Replies: 2 comments 3 replies
-
It looks like the integration is expecting event.module to be "fortinet" but it's getting "fortinet_fortigate" instead. My colleague @cm-ops came up with a workaround for this: Copy /opt/so/saltstack/default/salt/elasticsearch/files/ingest/.fleet_final_pipeline-1 to the local path (same path, replacing default with local) and add the following line: { "set": { "if": "ctx.event?.module == 'fortinet_fortigate'", "field": "event.module", "value": "fortinet" } }, Then restart Elasticsearch. |
Beta Was this translation helpful? Give feedback.
-
Tried this myself and was not able to get this to work. I was able, however, to get the logs sent to a local linux server with the SO agent on it running syslog-ng. I am forwarding these logs to SO and they now show up in ES and can be searched. However, they are not being parsed. Any thoughts on making this workflow function properly with parsed logs? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
2.4.20
Installation Method
Security Onion ISO image
Description
configuration
Installation Type
Standalone
Location
airgap
Hardware Specs
Exceeds minimum requirements
CPU
16
RAM
32
Storage for /
200GB
Storage for /nsm
7TB
Network Traffic Collection
other (please provide detail below)
Network Traffic Speeds
Less than 1Gbps
Status
Yes, all services on all nodes are running OK
Salt Status
No, there are no failures
Logs
Yes, there are additional clues in /opt/so/log/ (please provide detail below)
Detail
Hello,
I'v been doing some testing of Security Onion, and are trying to get logs from a fortigate fw into Security Onion, with the fleet integrations.
Have added the Fortinet FortiGate Firewall Logs integrations v 1.14.0 (not the deprecated one) to the so-grid-nodes_general policy,
Enabled Collect Fortinet Fortigate logs (input: udp) Listen address = SO IP, Listen Port: 9004
Added customhostgroup0 and customportgroup0 and added them to the standalone input chain and docker-user.
In the logstach.log I'll get an mapping error.
"error"=>{"type"=>"document_parsing_exception", "reason"=>"[1:1921] failed to parse field [event.module] of type [constant_keyword] in document with id 'E0IiqYsBfMAPdu-pr-y4'. Preview of field's value: 'fortinet_fortigate'", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"[constant_keyword] field [event.module] only accepts values that are equal to the value defined in the mappings [fortinet], but got [fortinet_fortigate]"}}}}}
Should this work "out of the box"?
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions