<?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: Multiple error stements with retry in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166753#M47466</link>
    <description>&lt;P&gt;I have solved this using the eventstats command, example below:&lt;BR /&gt;
index="{INDEX}" host={HOST} | &lt;BR /&gt;
transaction startswith="{STARTSWITH}" endswith="{ENDSWITH}" | &lt;BR /&gt;
eval StartTime=_time | &lt;BR /&gt;
eventstats max(StartTime) as max | &lt;BR /&gt;
where max=StartTime&lt;/P&gt;

&lt;P&gt;This will select the latest event only.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2015 15:18:41 GMT</pubDate>
    <dc:creator>markthompson</dc:creator>
    <dc:date>2015-01-07T15:18:41Z</dc:date>
    <item>
      <title>Multiple error stements with retry</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166748#M47461</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
Well we have a job that runs and produces log files that runs and if it fails, it retries up to 3x. &lt;/P&gt;

&lt;P&gt;How would we get splunk to take the latest value for that day of the log file so we can detect whether or not it has failed overall or not.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2015 08:58:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166748#M47461</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-01-02T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error stements with retry</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166749#M47462</link>
      <description>&lt;P&gt;What does a failure look like in the logs? What does a successful run look like?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2015 15:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166749#M47462</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-01-02T15:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error stements with retry</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166750#M47463</link>
      <description>&lt;P&gt;Hey Martin,&lt;BR /&gt;
it will be {Timestamp}: Error - {Error type}&lt;BR /&gt;
success will be something like The run has been completed successfully.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 08:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166750#M47463</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-01-05T08:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error stements with retry</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166751#M47464</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar "the run has been completed successfully" | timechart span=1d count | where count=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That should give you days without a successful run.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 17:08:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166751#M47464</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-01-05T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error stements with retry</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166752#M47465</link>
      <description>&lt;P&gt;Hi Martin, thats not particularly what we're looking for, we are using rangemaps to display traffic lights of the current status, and if it's warning but is succeeding after retry it should go amber, if its failing altogether, red, and if successful then green.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 08:30:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166752#M47465</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-01-06T08:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error stements with retry</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166753#M47466</link>
      <description>&lt;P&gt;I have solved this using the eventstats command, example below:&lt;BR /&gt;
index="{INDEX}" host={HOST} | &lt;BR /&gt;
transaction startswith="{STARTSWITH}" endswith="{ENDSWITH}" | &lt;BR /&gt;
eval StartTime=_time | &lt;BR /&gt;
eventstats max(StartTime) as max | &lt;BR /&gt;
where max=StartTime&lt;/P&gt;

&lt;P&gt;This will select the latest event only.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 15:18:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-error-stements-with-retry/m-p/166753#M47466</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-01-07T15:18:41Z</dc:date>
    </item>
  </channel>
</rss>

