All Apps and Add-ons

Fortinet FortiGate Add-On default [[source::*] stanza in default/props.conf affects all data from Splunk and cannot be deactivated from local

guilmxm
Influencer

Hi,

The default stanza in the default/props.conf of the Fortinet Addon contains:

[source::*]
#[source::udp:514]
TRANSFORMS-force_sourcetype_fgt = force_sourcetype_fgt_traffic,force_sourcetype_fgt_utm,force_sourcetype_fgt_event
SHOULD_LINEMERGE = false

The documentation suggests to change this, which is itself correct.

BUT the default/props.conf stanza cannot be deactivated without modifying the default/props.conf which is not upgrade resilient, and does not corresponds to Splunk best practices.

If someone then update the application when a new version of the addon would have been released, then the default/props.conf will be overwritten and the [source::*] stanza will be activated again.

We have observed data people bad recognized (multi line events threaten as event per line) because the stanza of the addon.
We previously tried to deactivate it in a local/props.conf as following (without modifying the default/props.conf to be upgrade resilient)

[source::*]
TRANSFORMS-force_sourcetype_fgt =

But this won't work and still other data has collision with the Fortinet addon.

Only modifying default/props.conf solves the issue.

Please update the Addon configuration.

Thank you.

Guilhem

0 Karma

jerryzhao
Contributor

Hi Guilhem
I have confirmed the issue and we are looking for a solution. It is more of a splunk bug because local is supposed to override default.
In the mean time, could you tell us how the add-on will conflict with your other data, since the add-on uses regex to filter out fortigate logs to process?
Thanks!

0 Karma

rshoward
Path Finder

I downvoted this post because its a bad idea to have you app contain a stanza so generic in default. its also pretty bad to pass all sources through regex to figure out which is yours. I don't feel it is a splunk issue because overly generic stanzas in an app default will always cause conflicts down the road.

0 Karma

jerryzhao
Contributor

we have already fixed the issue since version 1.2.
now fgt_log is the stanza we use.

0 Karma

rshoward
Path Finder

I did notice this and I believe it is all good now I just didn't want someone else to see this one response and get confused. sometimes it can be very tricky with defaults on apps. in any case, Thanks for the reply and explanation!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...