<?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: jobs expire too soon when I export data via REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374912#M92844</link>
    <description>&lt;P&gt;Hello @sbbadri. Could you be a bit more specific? I did not understand what you meant. I appreciated your help. &lt;/P&gt;

&lt;P&gt;I retake this topic because I have more time to learn more about this. &lt;/P&gt;

&lt;P&gt;Thank you everybody &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2017 12:00:57 GMT</pubDate>
    <dc:creator>jrballesteros05</dc:creator>
    <dc:date>2017-08-07T12:00:57Z</dc:date>
    <item>
      <title>jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374908#M92840</link>
      <description>&lt;P&gt;Hello, I was trying and trying to export the data via REST API. I followed all the instructions from this thread: &lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2013/09/15/exporting-large-results-sets-to-csv.html"&gt;https://www.splunk.com/blog/2013/09/15/exporting-large-results-sets-to-csv.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But I see the jobs expire too soon when I export large data and I never get all the data I want because it sticks at 14% and 21%. I really don't know what to do. Is it a way to extend job expiration via curl or anything like that? &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3143iD0696067F3303251/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 01:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374908#M92840</guid>
      <dc:creator>jrballesteros05</dc:creator>
      <dc:date>2017-06-30T01:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374909#M92841</link>
      <description>&lt;P&gt;This blog posts describes places where you can change the limits of the ttl of your searches&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2012/09/12/how-long-does-my-search-live-default-search-ttl.html"&gt;https://www.splunk.com/blog/2012/09/12/how-long-does-my-search-live-default-search-ttl.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 01:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374909#M92841</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-30T01:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374910#M92842</link>
      <description>&lt;P&gt;Hi, I did everything in that post and I couldn't extend the lifetime. I just entered in the Indexer and extended the job lifetime manually in "Job settings". It is enough to me but If you know another way more automatically I would appreciate it. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374910#M92842</guid>
      <dc:creator>jrballesteros05</dc:creator>
      <dc:date>2017-07-05T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374911#M92843</link>
      <description>&lt;P&gt;modify expiration field value from "after 24 hours" to some realistic value for your savedsearch/report.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:01:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374911#M92843</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-07-05T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374912#M92844</link>
      <description>&lt;P&gt;Hello @sbbadri. Could you be a bit more specific? I did not understand what you meant. I appreciated your help. &lt;/P&gt;

&lt;P&gt;I retake this topic because I have more time to learn more about this. &lt;/P&gt;

&lt;P&gt;Thank you everybody &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 12:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374912#M92844</guid>
      <dc:creator>jrballesteros05</dc:creator>
      <dc:date>2017-08-07T12:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374913#M92845</link>
      <description>&lt;P&gt;If you refer to the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf"&gt;limits.conf documentation&lt;/A&gt; and the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Alertactionsconf"&gt;alert_actions.conf&lt;/A&gt; they both have TTL settings that you can change.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;However&lt;/EM&gt; if you want to export large amounts of data why not use the CLI?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:changeme &lt;A href="https://localhost:8089/services/search/jobs/export" target="test_blank"&gt;https://localhost:8089/services/search/jobs/export&lt;/A&gt; -d search="search index=_internal earliest=-2s" -d output_mode=csv &amp;gt; ....(or similar)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I find the CLI interface much more efficient for large exports, the above will dump the data directly into a file...(which is probably what you are trying to do)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 09:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374913#M92845</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-08-09T09:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: jobs expire too soon when I export data via REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374914#M92846</link>
      <description>&lt;P&gt;Hi garethatiag, I exported the data via CLI but I always had the problem with jobs expiration because time is too short. My solved was editing the job settings manually and extend the lifetime, it was ok at the moment I needed but If I want something more automatically it's not the best choice.  &lt;/P&gt;

&lt;P&gt;I changed the TTL in those files and I did not get what I wanted, when I used the CLI the job time expiration was too short. I used to export 200GB of data.  &lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/jobs-expire-too-soon-when-I-export-data-via-REST-API/m-p/374914#M92846</guid>
      <dc:creator>jrballesteros05</dc:creator>
      <dc:date>2017-08-24T10:10:58Z</dc:date>
    </item>
  </channel>
</rss>

