Create a lookup with random test ip’s

Description:

This Splunk Search uses makeresults to generate a list of test ip addresses and outputs it to a lookup file.

| makeresults count=20 
| eval ip=round(random() % 255) . "." . round(random() % 255) . "." . round(random() % 255) . "." . round(random() % 255)
| fields ip
| outputlookup random_ips.csv
Share This:

Leave A Comment?