<?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 edit a transaction search with multiple &amp;quot;endswith&amp;quot; option? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304200#M91469</link>
    <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Transaction"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Transaction&lt;/A&gt;&lt;BR /&gt;
endswith&lt;BR /&gt;
Syntax: &lt;BR /&gt;
endswith=&lt;BR /&gt;
Description: A search or eval expression which, if satisfied by an event, marks the end of a transaction.&lt;/P&gt;

&lt;P&gt;Updated one...Try this one - &lt;BR /&gt;
     | transaction JOB startswith="EVENT: STARTJOB" endswith="STATUS: SUCCESS" OR "STATUS: FAILURE"&lt;/P&gt;</description>
    <pubDate>Sun, 21 May 2017 07:25:30 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2017-05-21T07:25:30Z</dc:date>
    <item>
      <title>How to edit a transaction search with multiple "endswith" option?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304197#M91466</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;i have a search to get duration of the job, let's say &lt;CODE&gt;startswith=started endswith=success&lt;/CODE&gt;&lt;BR /&gt;
But in some case the job may fail, now it should be &lt;CODE&gt;enddswith=FAILURE&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;now i want to write single search to get SUCCESS OR FAILURE JOB and their duration, starttime, endtime and status&lt;/P&gt;

&lt;P&gt;Ex: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| transaction JOB startswith="EVENT: STARTJOB" endswith="STATUS: SUCCESS"&lt;/CODE&gt; -- this is only for success&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| transaction JOB startswith="EVENT: STARTJOB" endswith="STATUS: SUCCESS or FAILURE"&lt;/CODE&gt; - ITS NOT WORKING&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 19:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304197#M91466</guid>
      <dc:creator>srinivasup</dc:creator>
      <dc:date>2017-05-19T19:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit a transaction search with multiple "endswith" option?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304198#M91467</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transaction JOB startswith="EVENT: STARTJOB" endswith="(STATUS: SUCCESS) OR (STATUS: FAILURE)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 May 2017 20:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304198#M91467</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-19T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit a transaction search with multiple "endswith" option?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304199#M91468</link>
      <description>&lt;P&gt;Can you just use &lt;CODE&gt;STATUS:&lt;/CODE&gt;? If s, then just do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transaction JOB startswith="EVENT: STARTJOB" endswith="STATUS:"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It could be a problem if you have other lines with &lt;CODE&gt;STATUS:&lt;/CODE&gt;, but only in that case.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 20:04:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304199#M91468</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-05-19T20:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit a transaction search with multiple "endswith" option?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304200#M91469</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Transaction"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Transaction&lt;/A&gt;&lt;BR /&gt;
endswith&lt;BR /&gt;
Syntax: &lt;BR /&gt;
endswith=&lt;BR /&gt;
Description: A search or eval expression which, if satisfied by an event, marks the end of a transaction.&lt;/P&gt;

&lt;P&gt;Updated one...Try this one - &lt;BR /&gt;
     | transaction JOB startswith="EVENT: STARTJOB" endswith="STATUS: SUCCESS" OR "STATUS: FAILURE"&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 07:25:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-a-transaction-search-with-multiple-quot-endswith/m-p/304200#M91469</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-05-21T07:25:30Z</dc:date>
    </item>
  </channel>
</rss>

