All Apps and Add-ons

Any way to pull data from a custom ServiceNow table and save it permanently without without meeting index data retention policies ?

nmohammed
Builder

We have a custom table in ServiceNow which just stores data for the Firewall NAT mappings. I added an input in servicenow App to pull data from this table. It was working fine, but since Splunk stores data based on time, it met our retention policies defined for the ServiceNow index and deleted all the data.

What is the best possible way to keep this data stored for ever? It is a small set of records in that table and we want to pull it and save it in Splunk without deleting it due to Index data retention policies.

Name Source IP Target IP
(NAT) xxx.xxx.xxx.200 xx.xxx.xx.xxx

0 Karma

xpac
SplunkTrust
SplunkTrust

Build a search that returns the data in a format that is good for you. Append | outputlookup your-lookup.csv to the search, which should write the results to a lookup with that name. The data can then later be used as any other lookup with the | lookup and | inputlookup commands.

0 Karma

ssadanala1
Contributor

As mentioned as a small set of data , ideal way is to save as a lookup which wont expire 🙂

Happy Splunking !!

0 Karma

nmohammed
Builder

Thanks ssadnala1 .

can you please guide me on how to pull that data and save as a lookup ?

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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...