<?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: How to load all artifact_offsets in loadjob? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398550#M115587</link>
    <description>&lt;P&gt;@niketnilay So the wording on the documentation is a little different. We don't want to select &lt;STRONG&gt;past&lt;/STRONG&gt; all available artifacts, we want to select &lt;STRONG&gt;exactly&lt;/STRONG&gt; all available artifacts&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2019 13:41:19 GMT</pubDate>
    <dc:creator>axelmunoz</dc:creator>
    <dc:date>2019-07-17T13:41:19Z</dc:date>
    <item>
      <title>How to load all artifact_offsets in loadjob?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398548#M115585</link>
      <description>&lt;P&gt;Hey all! I have a saved search that runs on a schedule and generates those "artifacts", I know I can access a specific artifact offset like this &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| loadjob savedsearch="my.user:search:test_search" artifact_offset=&amp;lt;int&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
What I want is to load ALL available artifact offsets. This can be a variable amount and therefore I can't do an append. &lt;BR /&gt;
Is there any way to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 23:28:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398548#M115585</guid>
      <dc:creator>axelmunoz</dc:creator>
      <dc:date>2019-07-16T23:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to load all artifact_offsets in loadjob?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398549#M115586</link>
      <description>&lt;P&gt;@axelmunoz as per documentation attempt to fetch all artifacts will lead to error. &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob#Optional_arguments"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob#Optional_arguments&lt;/A&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;A value that selects past all available artifacts will result in an error.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 17 Jul 2019 02:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398549#M115586</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-07-17T02:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to load all artifact_offsets in loadjob?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398550#M115587</link>
      <description>&lt;P&gt;@niketnilay So the wording on the documentation is a little different. We don't want to select &lt;STRONG&gt;past&lt;/STRONG&gt; all available artifacts, we want to select &lt;STRONG&gt;exactly&lt;/STRONG&gt; all available artifacts&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/398550#M115587</guid>
      <dc:creator>axelmunoz</dc:creator>
      <dc:date>2019-07-17T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to load all artifact_offsets in loadjob?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/628706#M218396</link>
      <description>&lt;P&gt;I know it has been a while since you asked this&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/192278"&gt;@axelmunoz&lt;/a&gt;&amp;nbsp;but this might be able to help others since I couldn't find any results either and had to make something. If I made any bad assumptions please correct me.&lt;BR /&gt;Alternate definition for an artifact: "An artifact is a saved search job that has not reached its ttl yet per search,user,app"&lt;BR /&gt;&lt;BR /&gt;This returns all of the artifacts SIDs then makes an event for each and uses the map command to loop through them loading in the results.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| rest /services/search/jobs&lt;BR /&gt;| rename eai:acl.app as app&lt;BR /&gt;| table author label app defaultTTL ttl diskUsage dispatchState isDone id isFailed isSavedSearch delegate published sid ```extra fields for human```&lt;BR /&gt;| where isDone=1 AND like(label,"PutSavedSearchNameHere") ```update this with the name of the search you want. probably smart to add app and user too```&lt;BR /&gt;| stats values(sid) as sid by label app author ```this version will be limited by values() max. Use count and mvrange instead if you need over values() max```&lt;BR /&gt;| mvexpand sid&lt;BR /&gt;| map maxsearches=50000 search="| loadjob $sid$"&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 09:20:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-load-all-artifact-offsets-in-loadjob/m-p/628706#M218396</guid>
      <dc:creator>Derson</dc:creator>
      <dc:date>2023-01-28T09:20:17Z</dc:date>
    </item>
  </channel>
</rss>

