- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
map command alternative
Hi Everyone,
I had been using map command on a set of few tens of entries . Basically it gets Busername field and searches customer's status using curl command. But now the data set is getting bigger (might get to 1-2k) and i could sense map command would be too inefficient a way here. What alternate way can i use instead of map command? I am not sure if i can use nested search in this case.
| inputlookup Data_Topology where "location"="WINDSOR"
| table BUsername
| map maxsearches=100 search="| curl method=get uri=https://mdoss-api.****.corp.com/v2/customers/$BUsername$
| spath input=curl_message
| fields - curl*
**some data**=*"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

It looks like your curl command is retrieving data for each BUsername, so if you want to avoid calling the curl command multiple times, you need a way of calling it fewer times but retrieve data on multiple BUsernames at once Do you have such a capability?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am afraid i cant avoid that. Busername is unique and i will need to precisely call it for each entry.
