<?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 Rest api turn off streaming in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Rest-api-turn-off-streaming/m-p/559736#M9981</link>
    <description>&lt;P&gt;Hey guys quick question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is it possible for me to use the rest api to do a search query, but not receive a stream of objects, but rather, batch the results into an array of objects?&lt;/P&gt;&lt;P&gt;query: services/search/jobs/export?output\_mode=json&amp;amp;search=savedsearch infraportal\_login\_history user=mrodrig1&amp;amp;summarize=true&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Currently receiving a stream of objects like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"preview":false,"offset":0,"result":{"Computer_Name":"computername","_time":"2021-07-14 13:01:07.000 EDT"}}&lt;BR /&gt;{"preview":false,"offset":1,"result":{"Computer_Name":"computername","_time":"2021-07-14 17:01:08.000 EDT"}}&lt;BR /&gt;{"preview":false,"offset":2,"lastrow":true,"result":{"Computer_Name":"computername","_time":"2021-07-15 16:01:08.000 EDT"}}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;would prefer to have something like [{result},{result2}]&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 03:13:12 GMT</pubDate>
    <dc:creator>Servonlewis1</dc:creator>
    <dc:date>2021-07-16T03:13:12Z</dc:date>
    <item>
      <title>Rest api turn off streaming</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Rest-api-turn-off-streaming/m-p/559736#M9981</link>
      <description>&lt;P&gt;Hey guys quick question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is it possible for me to use the rest api to do a search query, but not receive a stream of objects, but rather, batch the results into an array of objects?&lt;/P&gt;&lt;P&gt;query: services/search/jobs/export?output\_mode=json&amp;amp;search=savedsearch infraportal\_login\_history user=mrodrig1&amp;amp;summarize=true&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Currently receiving a stream of objects like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"preview":false,"offset":0,"result":{"Computer_Name":"computername","_time":"2021-07-14 13:01:07.000 EDT"}}&lt;BR /&gt;{"preview":false,"offset":1,"result":{"Computer_Name":"computername","_time":"2021-07-14 17:01:08.000 EDT"}}&lt;BR /&gt;{"preview":false,"offset":2,"lastrow":true,"result":{"Computer_Name":"computername","_time":"2021-07-15 16:01:08.000 EDT"}}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;would prefer to have something like [{result},{result2}]&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 03:13:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Rest-api-turn-off-streaming/m-p/559736#M9981</guid>
      <dc:creator>Servonlewis1</dc:creator>
      <dc:date>2021-07-16T03:13:12Z</dc:date>
    </item>
  </channel>
</rss>

