<?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: How to compute next cron iteration from _raw event in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584945#M203773</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;No, the cron expression is in the _raw event. I don't have the interval.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 14 Feb 2022 09:33:34 GMT</pubDate>
    <dc:creator>cdaviet</dc:creator>
    <dc:date>2022-02-14T09:33:34Z</dc:date>
    <item>
      <title>How to compute next cron iteration from _raw event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584939#M203770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a last run epoch time and a cron schedule (i.e. : "*/5 * * * *")&amp;nbsp;in an _raw event and I'd like to parse these information to output the next run.&lt;/P&gt;
&lt;P&gt;Do you have any idea how to do this?&lt;/P&gt;
&lt;P&gt;I found this addon :&lt;A href="https://splunkbase.splunk.com/app/4078/" target="_blank" rel="noopener"&gt;https://splunkbase.splunk.com/app/4078/&lt;/A&gt;&amp;nbsp;but it does not allow me to use a custom "last run time" and always takes the earliest time of my search as an input.&lt;/P&gt;
&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 18:43:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584939#M203770</guid>
      <dc:creator>cdaviet</dc:creator>
      <dc:date>2022-02-14T18:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute next cron iteration from _raw event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584940#M203771</link>
      <description>&lt;P&gt;I'm not sure what you are trying, but if you want to schedule the next run 5min after the current has ended then you can just use interval instead of cron expression. Then the next run starts after that interval. It start counting from the end on current/previous run.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 09:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584940#M203771</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-02-14T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute next cron iteration from _raw event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584945#M203773</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;No, the cron expression is in the _raw event. I don't have the interval.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Feb 2022 09:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/584945#M203773</guid>
      <dc:creator>cdaviet</dc:creator>
      <dc:date>2022-02-14T09:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute next cron iteration from _raw event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585026#M203798</link>
      <description>So you want to get the next run time for that schedule?</description>
      <pubDate>Mon, 14 Feb 2022 18:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585026#M203798</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-02-14T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute next cron iteration from _raw event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585055#M203802</link>
      <description>&lt;P&gt;Would this cron app work?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4027/#/overview" target="_blank"&gt;https://splunkbase.splunk.com/app/4027/#/overview&lt;/A&gt; you can pass it a start epoch and a cron schedule&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 05:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585055#M203802</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2022-02-15T05:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute next cron iteration from _raw event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585097#M203813</link>
      <description>&lt;P&gt;Yes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 07:42:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585097#M203813</guid>
      <dc:creator>cdaviet</dc:creator>
      <dc:date>2022-02-15T07:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute next cron iteration from _raw event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585098#M203814</link>
      <description>&lt;P&gt;I tried it but I've got errors using the command&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 07:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compute-next-cron-iteration-from-raw-event/m-p/585098#M203814</guid>
      <dc:creator>cdaviet</dc:creator>
      <dc:date>2022-02-15T07:42:54Z</dc:date>
    </item>
  </channel>
</rss>

