Hi, I want to use field values for a search query and then export the results for each field value to a CSV
For example, I have a list of field values
Then for each of these values, I will use them in a search query
list = [1,2,3]
for LIST_VALUE in list:
"index="foo" source="bar"
where name=<LIST_VALUE>
outputcsv <LIST_VALUE>.csv
Is this possible? Thanks!
use map
command