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
Contributor

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
Contributor

Thanks ssadnala1 .

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

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...