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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...