<?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: Deployment Monitor Backfill for Windows in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79382#M16283</link>
    <description>&lt;P&gt;Yes, the backfill function in Deployment Monitor assumes you run Linux or some Unix version for your Indexer or indexers. I am surprised buy, this. You should share your batch files with the community. &lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2011 16:57:50 GMT</pubDate>
    <dc:creator>gekoner</dc:creator>
    <dc:date>2011-09-23T16:57:50Z</dc:date>
    <item>
      <title>Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79379#M16280</link>
      <description>&lt;P&gt;Has anyone noticed how the Deployment Monitor Backfill doesn't work in Windows?&lt;/P&gt;

&lt;P&gt;Although in a perfect world Windows may not be so prevalent but it's a presence in all our lives.&lt;/P&gt;

&lt;P&gt;Trying to re-write the scripts for Windows now.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 17:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79379#M16280</guid>
      <dc:creator>Jodge</dc:creator>
      <dc:date>2011-09-21T17:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79380#M16281</link>
      <description>&lt;P&gt;Jodge, it works fine for me. Is your Indexer windows? Can you provide additional details?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 18:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79380#M16281</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-09-21T18:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79381#M16282</link>
      <description>&lt;P&gt;Yes, it's windows.  The backfill scripts are all .sh -- so re-wrote them as a batch files.  It took hours and hours to run.  In the end it's probably quicker just to splunk on the internal indexes for the amount of uses it gets.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 16:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79381#M16282</guid>
      <dc:creator>Jodge</dc:creator>
      <dc:date>2011-09-23T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79382#M16283</link>
      <description>&lt;P&gt;Yes, the backfill function in Deployment Monitor assumes you run Linux or some Unix version for your Indexer or indexers. I am surprised buy, this. You should share your batch files with the community. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 16:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79382#M16283</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-09-23T16:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79383#M16284</link>
      <description>&lt;P&gt;Hi Gekoner, Would gladly share batch files, (especially as learnt how to do it from the WebIntelligence backup batch files).  This would be a first time with Splunk, so where should one post the scripts?  Could just paste them into here?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2011 06:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79383#M16284</guid>
      <dc:creator>Jodge</dc:creator>
      <dc:date>2011-09-28T06:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79384#M16285</link>
      <description>&lt;P&gt;yes, I'd do just that. Splunk is trying to get the Answers forum to be the default place where Splunk users/admins can find answers. There is a handy 'code sample' button you can use to highlight the code sections. I'm sure Splunk support will be most appreciative, as well as future users.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2011 17:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79384#M16285</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-09-28T17:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Monitor Backfill for Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79385#M16286</link>
      <description>&lt;P&gt;There are three batch files to match the .sh &amp;amp; python scripts provided to backfill those provided with the Deployment Monitor app.  They reside in $SPLUNK_HOME\bin and are run from the command line as:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;DM_backfill_summary_indexes_windows.bat &lt;USERNAME&gt; &lt;PASSWORD&gt;   ..or..&lt;/PASSWORD&gt;&lt;/USERNAME&gt;&lt;/LI&gt;
&lt;LI&gt;DM_flush_and_backfill_summary_indexes_windows.bat &lt;USERNAME&gt; &lt;PASSWORD&gt;&lt;/PASSWORD&gt;&lt;/USERNAME&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The source is as follows: -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"DM_backfill_summary_indexes_windows.bat"

@echo off 
rem call this script with %1 as username and %2 as password

setlocal

set splunkBin="C:\Program Files\Splunk\bin"

if (%1)==() goto Error
if (%2)==() goto Error

%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All forwarders - regenerator summary index" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All indexers - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All hosts - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All pools - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All sources - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All sourcetypes - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2

goto End

:Error
echo Please specify a username and password

:End
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"DM_flush_and_backfill_summary_indexes_windows.bat"

@echo off 
rem call this script with %1 as username and %2 as password

setlocal

set splunkBin="C:\Program Files\Splunk\bin"

if (%1)==() goto Error
if (%2)==() goto Error

call %splunkBin%\DM_purge_summary_indexes_windows %1 %2

%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All forwarders - regenerator summary index" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All indexers - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All hosts - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All pools - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All sources - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2
%splunkBin%\splunk cmd python %splunkBin%\fill_summary_index.py -app SplunkDeploymentMonitor -name "All sourcetypes - regenerator" -et -14d@d -lt now -dedup true -j 8 -auth %1:%2

goto End

:Error
echo Please specify a username and password

:End
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"DM_purge_summary_indexes_windows.bat"

@echo off 
rem call this script with %1 as username and %2 as password

setlocal

set splunkBin="C:\Program Files\Splunk\bin"

if (%1)==() goto Error
if (%2)==() goto Error

%splunkBin%\splunk search "|savedsearch ""All forwarders - purge""" -app SplunkDeploymentMonitor -detach T -maxout 0 -auth %1:%2
%splunkBin%\splunk search "|savedsearch ""All indexers - purge""" -app SplunkDeploymentMonitor -detach T -maxout 0 -auth %1:%2
%splunkBin%\splunk search "|savedsearch ""All hosts - purge""" -app SplunkDeploymentMonitor -detach T -maxout 0 -auth %1:%2
%splunkBin%\splunk search "|savedsearch ""All pools - purge""" -app SplunkDeploymentMonitor -detach T -maxout 0 -auth %1:%2
%splunkBin%\splunk search "|savedsearch ""All sources - purge""" -app SplunkDeploymentMonitor -detach T -maxout 0 -auth %1:%2
%splunkBin%\splunk search "|savedsearch ""All sourcetypes - purge""" -app SplunkDeploymentMonitor -detach T -maxout 0 -auth %1:%2

goto End

:Error
echo Please specify a username and password

:End
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;P&gt;(All of these were prepared with the help of the WebIntelligence backfill batch files.)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deployment-Monitor-Backfill-for-Windows/m-p/79385#M16286</guid>
      <dc:creator>Jodge</dc:creator>
      <dc:date>2020-09-28T09:55:45Z</dc:date>
    </item>
  </channel>
</rss>

