You are performing a lookup with a large CSV file and notice poor performance. Which feature can optimize the lookup performance?
Trap 1: Splitting the lookup file
While this might work, indexing is the native optimization feature.
Trap 2: Increasing the memory limit
This does not resolve lookup lookup efficiency.
Trap 3: Compressing the lookup file
Splunk does not read compressed lookup files directly.
- A
Splitting the lookup file
Why it fails: While this might work, indexing is the native optimization feature.
- B
Lookup indexing
Lookup indexing builds a persistent index over the CSV key field, so Splunk performs indexed rather than full-table scans. This directly addresses the poor performance caused by the large CSV file, cutting lookup execution time substantially.
- C
Increasing the memory limit
Why it fails: This does not resolve lookup lookup efficiency.
- D
Compressing the lookup file
Why it fails: Splunk does not read compressed lookup files directly.