Getting Data In

How to create lookup without header?

rayar
Contributor

Hi

I am going to create a DC list lookup daily using nslookup

how I can I define the lookup without a header  or I should create a header manually  ? 

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @rayar,

no you have only to create your lookup and the Lookup Definition (don't forget it!) and then save the nslookup command output in it.

Ciao.

Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @rayar,

no you have only to create your lookup and the Lookup Definition (don't forget it!) and then save the nslookup command output in it.

Ciao.

Giuseppe

0 Karma

rayar
Contributor

How I can define that the lookup doesn't have a header  and the first line is a value  ?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @rayar,

how do you think to populate the lookup, using a search or a script?

is using a search, at the end of the search (before the outputlookup command) you'll use the table command listing all the fields that are the output of your search, this will be the header for your lookup defining the lookup fields list.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...