Splunk Search

lookup tables??

DTERM
Contributor

What is the simplest way to populate a lookup table? I started creating a cronjob. However the splunk search command behaves oddly when executed from the command line. I have to CTRL-C to break the search. This does not work well with Linux Cron.

In theory, I'd like to create a (cron) job that updates a lookup table daily.

Thanks.

Tags (1)
0 Karma
1 Solution

Ayn
Legend

If you're populating a lookup table from within Splunk, why not just schedule the search in Splunk instead and use the outputlookup command just as you would do with a separate cron job?

View solution in original post

0 Karma

Ayn
Legend

If you're populating a lookup table from within Splunk, why not just schedule the search in Splunk instead and use the outputlookup command just as you would do with a separate cron job?

0 Karma

DTERM
Contributor

Thanks, I'll have to look into that.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...