<?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 How to set up cron schedule for per minute data summary index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120604#M25045</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Currently I am trying to set up a summary indexing , so there will be three summary indexes for each service&lt;BR /&gt;
 1. Summary index for per day&lt;BR /&gt;
 2. Summary index for per hour&lt;BR /&gt;
 3. Summary index for per minute&lt;/P&gt;

&lt;P&gt;I have set up a plan how I can go ahead with "day" and "hour" as follows : &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;DAY&lt;/STRONG&gt; : index="XXXX"  source="XXXXXXXXX" earliest=-1d@d latest=-0d@d | bucket _time span=1day | sistats count avg(XX) max(XX) min(XX) by _time, A,B,C,D,E&lt;/P&gt;

&lt;P&gt;cron : 00 01 * * * &lt;/P&gt;

&lt;P&gt;I am running on the last 1 day data on each day at 01:00 clock in the morning&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;HOUR&lt;/STRONG&gt; : index="XXXXX"   source="XXXXXXXX" earliest=-1h@h latest=-0h@h | bucket _time span=1h | sistats count avg(XX) max(XX) min(XX) by _time, A,B,C,D,E&lt;/P&gt;

&lt;P&gt;cron= 10 * * * *&lt;/P&gt;

&lt;P&gt;so the cron is each hour 10 minutes my search will run for the last one hour&lt;/P&gt;

&lt;P&gt;I am not able to find the solution for PER MINUTE data, how should I make my search and how to set up cron effectively. Mainly I need to set up  a search that fits the following requirements:&lt;BR /&gt;
o   Search for data between 10:20 and 10:30&lt;BR /&gt;
o   Execute this search by cron at 10:35, for example&lt;BR /&gt;
o   Use 1 minute spanning in the search&lt;BR /&gt;
o   Extend this example to cover a complete hour instead of 10:20 to 10:30&lt;/P&gt;

&lt;P&gt;Please help me asap , your help is very much appreciated !!&lt;/P&gt;

&lt;P&gt;Thanks in advance !! &lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2014 11:00:53 GMT</pubDate>
    <dc:creator>abhayneilam</dc:creator>
    <dc:date>2014-06-26T11:00:53Z</dc:date>
    <item>
      <title>How to set up cron schedule for per minute data summary index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120604#M25045</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Currently I am trying to set up a summary indexing , so there will be three summary indexes for each service&lt;BR /&gt;
 1. Summary index for per day&lt;BR /&gt;
 2. Summary index for per hour&lt;BR /&gt;
 3. Summary index for per minute&lt;/P&gt;

&lt;P&gt;I have set up a plan how I can go ahead with "day" and "hour" as follows : &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;DAY&lt;/STRONG&gt; : index="XXXX"  source="XXXXXXXXX" earliest=-1d@d latest=-0d@d | bucket _time span=1day | sistats count avg(XX) max(XX) min(XX) by _time, A,B,C,D,E&lt;/P&gt;

&lt;P&gt;cron : 00 01 * * * &lt;/P&gt;

&lt;P&gt;I am running on the last 1 day data on each day at 01:00 clock in the morning&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;HOUR&lt;/STRONG&gt; : index="XXXXX"   source="XXXXXXXX" earliest=-1h@h latest=-0h@h | bucket _time span=1h | sistats count avg(XX) max(XX) min(XX) by _time, A,B,C,D,E&lt;/P&gt;

&lt;P&gt;cron= 10 * * * *&lt;/P&gt;

&lt;P&gt;so the cron is each hour 10 minutes my search will run for the last one hour&lt;/P&gt;

&lt;P&gt;I am not able to find the solution for PER MINUTE data, how should I make my search and how to set up cron effectively. Mainly I need to set up  a search that fits the following requirements:&lt;BR /&gt;
o   Search for data between 10:20 and 10:30&lt;BR /&gt;
o   Execute this search by cron at 10:35, for example&lt;BR /&gt;
o   Use 1 minute spanning in the search&lt;BR /&gt;
o   Extend this example to cover a complete hour instead of 10:20 to 10:30&lt;/P&gt;

&lt;P&gt;Please help me asap , your help is very much appreciated !!&lt;/P&gt;

&lt;P&gt;Thanks in advance !! &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 11:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120604#M25045</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2014-06-26T11:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cron schedule for per minute data summary index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120605#M25046</link>
      <description>&lt;P&gt;You can use a timerange of &lt;CODE&gt;-15m@m&lt;/CODE&gt; to &lt;CODE&gt;-5m@m&lt;/CODE&gt; and have a cron schedule of &lt;CODE&gt;5,15,25,35,45,55 * * * *&lt;/CODE&gt;. The run at 35 past the hour will then search from 20 past the hour to 30 past the hour.&lt;BR /&gt;
For one-minute spans just set &lt;CODE&gt;span=1m&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 11:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120605#M25046</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-06-26T11:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cron schedule for per minute data summary index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120606#M25047</link>
      <description>&lt;P&gt;Thanks Martin_Mueller for the prompt reply !! Really much appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 14:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120606#M25047</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2014-06-26T14:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cron schedule for per minute data summary index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120607#M25048</link>
      <description>&lt;P&gt;Martin,&lt;/P&gt;

&lt;P&gt;Do we need more than one search to get this configured ?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 14:05:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120607#M25048</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2014-06-26T14:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up cron schedule for per minute data summary index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120608#M25049</link>
      <description>&lt;P&gt;One search is enough. The comma-separated list of minutes works within one cron schedule.&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/Cron#CRON_expression"&gt;http://en.wikipedia.org/wiki/Cron#CRON_expression&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 15:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-cron-schedule-for-per-minute-data-summary-index/m-p/120608#M25049</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-06-26T15:52:23Z</dc:date>
    </item>
  </channel>
</rss>

