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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...