All Apps and Add-ons

How to collect from custom tables using the Service Now Add-on?

althomas
Communicator

Hi all,

In the previous version, I had a number of inputs set up to collect from custom tables. This was mostly to enrich data from the CMDB so we can use this in Splunk for various reasons.

In version 4.0,0, it looks like the collection from custom tables has been disabled and limited to just 23 tables, as per https://docs.splunk.com/Documentation/AddOns/released/ServiceNow/Configureinputs.

I tried just manually updating inputs.conf and hoping for the best, but this doesn't seem to work. Example below:

[snow://alm_hardware]
duration = 900
account = SNow PROD
timefield = sys_updated_on
id_field = sys_id
disabled = 0
index=snow
since_when = 2019-08-16 09:25:37

Does anyone have any insight into what I need to do to get this to work properly?

Thanks!

0 Karma
1 Solution

althomas
Communicator

Solution:
I was missing the table parameter, now it works!

Full config for this entry:
[snow://alm_hardware]
duration = 900
account = SNow PROD
timefield = sys_updated_on
id_field = sys_id
disabled = 0
index = snow
since_when = 2019-08-16 09:25:37
table = alm_hardware

View solution in original post

0 Karma

lekanneer
Loves-to-Learn Lots

If you're looking for an efficient and functional ServiceNow to Splunk integration (also CMDB) take a look at: https://www.thedutchdatadifference.nl/splunk-servicenow/

I created that solution and continuously adding new features. You can easily extend the solution to add custom tables.

0 Karma

althomas
Communicator

Solution:
I was missing the table parameter, now it works!

Full config for this entry:
[snow://alm_hardware]
duration = 900
account = SNow PROD
timefield = sys_updated_on
id_field = sys_id
disabled = 0
index = snow
since_when = 2019-08-16 09:25:37
table = alm_hardware

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...