All Apps and Add-ons

Splunk Add-on for ServiceNow 2.6.0: Why does the latest version of the app use the [default] stanza, overriding other sourcetypes in my environment?

jgoddard
Path Finder

The most recent version of this app has a change that makes it bad.

The default/props.conf contains:

[default]
MAX_TIMESTAMP_LOOKAHEAD = 1
SHOULD_LINEMERGE = false
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TZ = UTC
REPORT-sys_id = sys_id

the [default] stanza should NOT be used in an app, as it overrides EVERYTHING that isn't specifically set somewhere else. So, for every sourcetype in my environment now, I have a "REPORT=sys_id = sys_id". And for any other sourcetype, where the MAX_TIMESTAMP_LOOKAHEAD isn't specifically set, is now getting that setting of only look 1 character forward... Not going to pick up many timestamps that way. btool reports picking up stanzas from Splunk_TA_snow for just about all of my sourcetypes.

I am reverting [default] to [snow] in my copy, which is what it was previously, and that should provide the default settings to all the snow: sourcetypes but NOT globally override other settings.

Jim

0 Karma

bwooden
Splunk Employee
Splunk Employee

That is a valid point and concern, @jgoddard. I've downloaded the latest copy of the Splunk Add-on for ServiceNow and do not see a [default] stanza within its default/props.conf. Would you be able to provide a copy of your default/app.conf to make an investigation easier?

jgoddard
Path Finder

Ok, that is what i get for not checking versions. The issue I ranted about is indeed not present in the 2.6.0 version of the TA, it does exist in 2.5.0, which is what i was seeing.

I will update mine to the current version.

Thanks for fixing, and the tip!

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...