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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...