<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic map command alternative in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557564#M158347</link>
    <description>&lt;P&gt;Hi&amp;nbsp; Everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| inputlookup Data_Topology where "location"="WINDSOR"&lt;BR /&gt;| table &lt;STRONG&gt;BUsername&lt;/STRONG&gt;&lt;BR /&gt;| map maxsearches=100 search="| curl method=get uri=&lt;A href="https://mdoss-api.****.corp.com/v2/customers/$" target="_blank" rel="noopener"&gt;https://mdoss-api.****.corp.com/v2/customers/$&lt;/A&gt;&lt;STRONG&gt;BUsername&lt;/STRONG&gt;$&lt;BR /&gt;| spath input=curl_message&lt;BR /&gt;| fields - curl*&lt;BR /&gt;**some data**=*"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 08:48:21 GMT</pubDate>
    <dc:creator>Simr</dc:creator>
    <dc:date>2021-06-29T08:48:21Z</dc:date>
    <item>
      <title>map command alternative</title>
      <link>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557564#M158347</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| inputlookup Data_Topology where "location"="WINDSOR"&lt;BR /&gt;| table &lt;STRONG&gt;BUsername&lt;/STRONG&gt;&lt;BR /&gt;| map maxsearches=100 search="| curl method=get uri=&lt;A href="https://mdoss-api.****.corp.com/v2/customers/$" target="_blank" rel="noopener"&gt;https://mdoss-api.****.corp.com/v2/customers/$&lt;/A&gt;&lt;STRONG&gt;BUsername&lt;/STRONG&gt;$&lt;BR /&gt;| spath input=curl_message&lt;BR /&gt;| fields - curl*&lt;BR /&gt;**some data**=*"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:48:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557564#M158347</guid>
      <dc:creator>Simr</dc:creator>
      <dc:date>2021-06-29T08:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: map command alternative</title>
      <link>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557566#M158349</link>
      <description>&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:54:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557566#M158349</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-29T08:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: map command alternative</title>
      <link>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557567#M158350</link>
      <description>&lt;P&gt;I am afraid i cant avoid that. Busername is unique and i will need to precisely call it for each entry.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/map-command-alternative/m-p/557567#M158350</guid>
      <dc:creator>Simr</dc:creator>
      <dc:date>2021-06-29T08:56:17Z</dc:date>
    </item>
  </channel>
</rss>

