<?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: Set Expiry Time for a saved Search with an action script in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160747#M45442</link>
    <description>&lt;P&gt;setting in etc\system folder will make it global&lt;/P&gt;</description>
    <pubDate>Sat, 30 Nov 2013 10:31:25 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2013-11-30T10:31:25Z</dc:date>
    <item>
      <title>Set Expiry Time for a saved Search with an action script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160746#M45441</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a set of saved searches which i have scheduled for run for every 15 min interval.&lt;BR /&gt;
Each of the saved search triggers a script. By Default , the expiry time of the saved search which triggers a script is 10 min. &lt;BR /&gt;
But i want to set the expiry time of these saved searches as 1 hr and this setting needs to be set as global.&lt;/P&gt;

&lt;P&gt;So if the logged user creates the saved search from any app, the expiry time should be set as 1 hr.&lt;/P&gt;

&lt;P&gt;I already created a alert_actions.conf file in the app which i have created and set the following&lt;/P&gt;

&lt;P&gt;[script]&lt;BR /&gt;
ttl = 3600&lt;/P&gt;

&lt;P&gt;Setting this will make it only available for that specific app. How can i make it a global setting?&lt;/P&gt;

&lt;P&gt;Please share your thoughts and suggestions.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2013 06:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160746#M45441</guid>
      <dc:creator>ppurokit</dc:creator>
      <dc:date>2013-11-30T06:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expiry Time for a saved Search with an action script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160747#M45442</link>
      <description>&lt;P&gt;setting in etc\system folder will make it global&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2013 10:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160747#M45442</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-11-30T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expiry Time for a saved Search with an action script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160748#M45443</link>
      <description>&lt;P&gt;In general you can also do this by setting the ttl globally for all saved searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# in $SPLUNK_HOME/etc/system/local/savedsearches.conf
# set default artifact time to live to 1h
dispatch.ttl           = 1h
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Dec 2013 21:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-Expiry-Time-for-a-saved-Search-with-an-action-script/m-p/160748#M45443</guid>
      <dc:creator>dart</dc:creator>
      <dc:date>2013-12-17T21:31:27Z</dc:date>
    </item>
  </channel>
</rss>

