<?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 Re: When using an API to enrich my data, how can I control how many requests Splunk sends to my external lookup script? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191406#M55108</link>
    <description>&lt;P&gt;From logs created by my script, Splunk is sending the hash one at a time to the script. I have caching implemented with the script so it doesn't use the API for something its received an answer for in the last few hours.&lt;/P&gt;

&lt;P&gt;What I'm after is configuring Splunk to send more than one hash at a time to the script as it goes down the list.&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jul 2015 18:41:46 GMT</pubDate>
    <dc:creator>rharrisssi</dc:creator>
    <dc:date>2015-07-05T18:41:46Z</dc:date>
    <item>
      <title>When using an API to enrich my data, how can I control how many requests Splunk sends to my external lookup script?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191404#M55106</link>
      <description>&lt;P&gt;When using an API to enrich my data, for example running MD5 hashes in my logs against VirusTotal's API, how can I control how many requests Splunk sends to my external lookup script? There are often maximum limits on APIs provided, and its most efficient to take advantage and send in bulk since it will be going off-box.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2015 04:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191404#M55106</guid>
      <dc:creator>rharrisssi</dc:creator>
      <dc:date>2015-07-05T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: When using an API to enrich my data, how can I control how many requests Splunk sends to my external lookup script?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191405#M55107</link>
      <description>&lt;P&gt;Splunk will send all the requests to your external lookup script because Splunk can't know what the script is doing.&lt;/P&gt;

&lt;P&gt;However, the script can be smart about what it sends off and what it answers itself from a cache.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191405#M55107</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-05T11:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: When using an API to enrich my data, how can I control how many requests Splunk sends to my external lookup script?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191406#M55108</link>
      <description>&lt;P&gt;From logs created by my script, Splunk is sending the hash one at a time to the script. I have caching implemented with the script so it doesn't use the API for something its received an answer for in the last few hours.&lt;/P&gt;

&lt;P&gt;What I'm after is configuring Splunk to send more than one hash at a time to the script as it goes down the list.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2015 18:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191406#M55108</guid>
      <dc:creator>rharrisssi</dc:creator>
      <dc:date>2015-07-05T18:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: When using an API to enrich my data, how can I control how many requests Splunk sends to my external lookup script?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191407#M55109</link>
      <description>&lt;P&gt;I see. While I'm not so sure about lookups, custom search commands are by default configured to receive up to 50000 rows per invocation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Commandsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Admin/Commandsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If there's no way to tell this to a lookup then you could at least convert your lookup script.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2015 21:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-using-an-API-to-enrich-my-data-how-can-I-control-how-many/m-p/191407#M55109</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-05T21:56:46Z</dc:date>
    </item>
  </channel>
</rss>

