<?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: coldToFrozenScript arguments in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580824#M8770</link>
    <description>&lt;P&gt;Consider making your case for an enhancement at&amp;nbsp;&lt;A href="https://ideas.splunk.com" target="_blank"&gt;https://ideas.splunk.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jan 2022 16:53:58 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-01-12T16:53:58Z</dc:date>
    <item>
      <title>coldToFrozenScript arguments</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580792#M8767</link>
      <description>&lt;P&gt;In the coldToFrozenExample.py script there is a --search-files-required argument switch that it looks for, and if found will archive additional files instead of deleting them.&lt;/P&gt;&lt;P&gt;I don't want to use this, but I would like to add my own switch to the script in order to add make it more widely applicable.&amp;nbsp; However, I'm not sure how to actually call the script with the arguments.&amp;nbsp; Here is the line from indexes.conf that specifies the script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;coldToFrozenScript = "$SPLUNK_HOME/bin/python" "$SPLUNK_HOME/bin/scripts/coldToFrozen.py"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When Splunk actually makes the call, it automatically inserts the bucket to archive after the script name (it has to do this, because the script searches for the bucket name as the first argument).&amp;nbsp; So I don't know how I would specify a second argument.&lt;/P&gt;&lt;P&gt;If anyone can point me in the right direction, I would very much appreciate it.&amp;nbsp; Thanks so much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:35:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580792#M8767</guid>
      <dc:creator>m22oswald</dc:creator>
      <dc:date>2022-01-12T14:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: coldToFrozenScript arguments</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580799#M8768</link>
      <description>&lt;P&gt;Unless you can get a job as a programmer at Splunk and change the code, you're stuck with the calling sequence described in the Admin manual for coldToFrozenScript&amp;nbsp; at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.4/Admin/Indexesconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.4/Admin/Indexesconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 15:06:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580799#M8768</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-12T15:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: coldToFrozenScript arguments</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580817#M8769</link>
      <description>&lt;P&gt;I figured that would be the answer, but still a little disappointed.&amp;nbsp; Thanks for the quick reply&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 16:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580817#M8769</guid>
      <dc:creator>m22oswald</dc:creator>
      <dc:date>2022-01-12T16:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: coldToFrozenScript arguments</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580824#M8770</link>
      <description>&lt;P&gt;Consider making your case for an enhancement at&amp;nbsp;&lt;A href="https://ideas.splunk.com" target="_blank"&gt;https://ideas.splunk.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 16:53:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/coldToFrozenScript-arguments/m-p/580824#M8770</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-12T16:53:58Z</dc:date>
    </item>
  </channel>
</rss>

