Splunk search result from datascrapping to array list?

Hi All,

I am currently using write range to excel for the splunk search results from data scraping to excel however i notice the value remains after execution. is it better to use array list coz max results are order id which are in 20 in number. can u pls guide me in this please . thanks.

@Sathish_Ashokan

Can you please elaborate a little

cheers

Couldn’t get this part
Little more explanation should be fine @Sathish_Ashokan

I am data scraping splunk result of list of order ids currently i am storing in excel but only 3 or 10 order ids max instead of using excel can i use datatable or anything as alternate. coz i want to read range this data for inputing order number search in another portal same program

@Sathish_Ashokan

Yes you need not store in excel…

You can directly save as datatable and uze it it is not a problem

Cheers

i need to carry the values from splunk search to another portal datatable only valid till the for each loop ends right then how?

@Sathish_Ashokan

Store the datatable in a variable why eill it be valid only till for loop…change the scope

Cheers