<?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: Inner search for database-fetched data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353308#M104584</link>
    <description>&lt;P&gt;HI @biju3705,&lt;/P&gt;

&lt;P&gt;Can you please try this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH
| stats values(STATUS) as STATUS by TID
| where STATUS!="Success" AND STATUS="Failed"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2017 04:22:43 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2017-12-20T04:22:43Z</dc:date>
    <item>
      <title>Inner search for database-fetched data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353307#M104583</link>
      <description>&lt;P&gt;I have fetching data to Splunk from a transaction tracker table. My scenario is as given below.&lt;/P&gt;

&lt;P&gt;Here is the example of the table data I fetch:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4040i533F0D72008A7EEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;From the above data I need to find the count of transactions with status="Failed" and do not have any "Success" status. From the above example, I should get the result as 1, since transaction Id 1000 was successful in later stages.&lt;/P&gt;

&lt;P&gt;Could you please advise.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 20:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353307#M104583</guid>
      <dc:creator>biju3705</dc:creator>
      <dc:date>2017-12-19T20:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Inner search for database-fetched data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353308#M104584</link>
      <description>&lt;P&gt;HI @biju3705,&lt;/P&gt;

&lt;P&gt;Can you please try this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH
| stats values(STATUS) as STATUS by TID
| where STATUS!="Success" AND STATUS="Failed"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 04:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353308#M104584</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-12-20T04:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Inner search for database-fetched data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353309#M104585</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Can you try this if it helps?&lt;/P&gt;

&lt;P&gt;...| stats values(Transation status) AS 'Status' values(Insert date time) AS Time BY "Transaction Id" | where Status="Failed"&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 06:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inner-search-for-database-fetched-data/m-p/353309#M104585</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2017-12-20T06:36:01Z</dc:date>
    </item>
  </channel>
</rss>

