Knowledge Management

Provided solution : Tip to reduce large CSV lookups / replication issues

splunkreal
Motivator

Find large CSV lookups above 400 mb (500 mb limit) :

| rest splunk_server=* /servicesNS/-/-/data/transforms/lookups getsize=true f=size f=title f=type f=filename f=eai*|fields splunk_server filename title type size eai:appName
|where isnotnull(size)|eval KB = round(size / 1024, 2)|fields - size
| sort - KB
| search KB>400000

 

Use this to reduce CSV lookup (example) :

| inputlookup file.csv
| eval time_epoch = strftime(_time,"%s")
| where time_epoch>relative_time(now(),"-100d@d")
| outputlookup file.csv append=false

 

* If this helps, please upvote or accept solution 🙂 *
Labels (1)
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...